Do I need a client (using javascript) to invalidate the page it has and essentially retrieve the new version?
I thought I could do all this with headers: Invalid cached content, If-Modified Headers?
If there is no way to update the browser in the current cached version without creating a new request (via a new URL) ... so that the same original URL request can be used to view the updated content?
javascript, POST GET nocache random parameter trick:
, . POST HTTP?
, :
location.reload(true);
""
'...?rnd=' + Math.random();
, . :
document.location.href = 'mypage.html?randomVar=454068934';
. javascript .
, URL. .. products.php, products.php? rand = 23443545. , .
Source: https://habr.com/ru/post/1715561/More articles:Saving a single object instead of the whole context - c #What is the best chart to visualize this data (number of users, number of users, number of lost users) - chartsPHP conditional statement and self-calculation - variable-assignmentИзменение размера viewControllers просмотра, которые являются частью UINavigationController на IPhone - iphoneHow do you use the RESTful API from PHP? - restVisual C ++ 2005 does not add / dll argument to linker - visual-c ++Match all subdomains except one in mod_rewrite - regexSaving branches with git - gitInvalid Cached Content, If-Modified Headers? - jqueryChoosing (siblings) between two tags using XPath (in .NET) - .netAll Articles