Answer the question
In order to leave comments, you need to log in
How to make sure that the data from the site is not cached in the browser or is the cache updated immediately upon loading?
How to make sure that the data from the site is not cached in the browser or is the cache updated immediately upon loading?
Answer the question
In order to leave comments, you need to log in
Disable page caching in HTML
You can do this using meta tags. Now we will analyze different options for banning caching.
Prohibit caching by the browser and proxy server
Disable page caching, browser only
Setting Caching to a Specific Time for the Browser
Using the code below, we can tell the browser how long to cache a document for. After that, the cache will be updated.
PS: at the link above there are a few more ways to disable/disable caching
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question