# Just how can I create an internet browser to download and install a new duplicate of a website when it assumes that its cached duplicate is still legitimate?

Occasionally when I make tiny adjustments to an internet site, I see that particular internet browsers are really persistent concerning downloading and install the web page once more. Both F5 and also CTRL-R wear and also the only means to repair it is to experience the alternatives and also by hand inform it to clear the cache. I've made use of PHP before to send a cache-flush header, yet exists a less complex or far better means?

0
2019-05-04 18:04:57
Source Share

F5 is rejuvenate making use of the cache. Ctrl-F5 will certainly overlook the cache. I'm not particular, yet it seems like Ctrl-R amounts F5 as opposed to Ctrl-F5?

0
2019-05-08 02:45:29
Source

It relies on what's cached. If it's the major web page after that the only means to stop caching is making use of the no cache HTTP header.

Nonetheless remember that JS and also CSS documents are additionally generally cached. One method to revoke them when they transform made use of by several internet sites - including this - is adding a dummy number after the '?'. Every little thing after the '?' is overlooked by the web server, yet given that the URL transforms the internet browser constantly re-downloads it.

An instance extracted from this really web page : http://sstatic.net/webmasters/all.css?v=ac775b7bd951. The "ac775b7bd951" originates from unstable, the versioning system made use of. You can do something comparable with svn (instance : all.css?revision =123).

0
2019-05-08 02:41:56
Source