D
D
DARKENN2019-06-15 17:52:39
htaccess
DARKENN, 2019-06-15 17:52:39

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

1 answer(s)
R
Roman, 2019-06-15
@DARKENN

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 question

Ask a Question

731 491 924 answers to any question