Clear IE cache remotely

We recently went live with the new CMS solution. However, we did not understand that, by default, this solution does not add a header without a cache, etc. To HTML pages.

While we fixed this, our visitors using IE especially have a cache of the bulk of our HTML pages (including links to old CSS and JS files).

Is there a way to search the cache for those users who visited the site in the first month after Go-Live? Since I am concerned that we cannot successfully move forward with our JS design and functionality due to people with the old cached version.

+4
source share
2 answers

Typically, page requests return a Last-Modified header? This is the only reliable way to iterate over the caches with which I have experience.

Most browsers will send an If-Unmodified-Since request header if they are caching something (unless the default caching behavior on this CMS should have set an explicit cache expiration date, which would be extremely unusual). So, all you have to do is release the Last-Modified:[date you added no-cache headers] header Last-Modified:[date you added no-cache headers] in the response, and a correctly working HTTP server will send clients a full updated HTML page.

The correct format can be found in the HTTP protocol.

+3
source

Assuming a central function for generating URLs, track it and always add ?_version=2 (or &_version=2 if the URL already has a question mark) for all URLs.

This will not affect your web application (if it does not use the _Version GET field), but it simulates the changed URLs of all related resources. Since the start URL (say / ) will always be requested, this will force any browser to reload all resources.

+1
source

All Articles