Tyilo
Tyilo

Reputation: 30142

Force reload all page resources, not from cache

I would like to do something similiar to opening the developer tools in chrome and checking disable cache and then reload the page.

I can't modify the urls in any way (eg. appending a timestamp in the query) as this will work once, but next time I reload the page normally, the resources will load from the old url without the timestamp and be the old cached version.

I only need support for chrome and I don't have access to the server.

Basically I need the resource files to be update in the chrome cache, without altering the url.

Upvotes: 1

Views: 3748

Answers (2)

Serg
Serg

Reputation: 1367

In Chrome reloading all page resources regardless cache can be forced by long pressing Refresh button while developer tools is open

Upvotes: 1

Cauliturtle
Cauliturtle

Reputation: 691

referring from this topic: Prevent browser caching of jQuery AJAX call result

As you are able to editing the server-side script to setting no cache header, it is hard to handler it perfectly on IE. The only way can do for client side is unfortunately adding timestamp on end of the query string.

Upvotes: 1

Related Questions