Does this mean programmatically using JavaScript? Is there some kind of universal method that will force any of the popular browsers not to cache data but constantly take new ones?
2 answers
Or something like this!
<meta http-equiv="Cache-control" content="no-cache"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="-1">
- And for what ekspayres responsible? - deivan_
- Over the expiration date of the document. - knes
- cache expiration date. Ie cache is outdated yesterday - it means you need to update it! in principle, you can put 0, the effect is the same! - Palmervan
|
<meta http-equiv="Cache-control" content="NO-CACHE">
Something like this. But to make something difficult to do: they are too, browsers, independent. This is just a wish.
- Just wanted to ask what the meta tags are not satisfied with? - Palmervan
- knes, so this is not a ban caching. I heard that in Wikipelia they were mistaken, those who advised this :-)) - alex_90
- This is not a ban, it is a recommendation. It is impossible to ban anything at all: the developer has the right to cache any information from the server. Is that every time to change the link to the content, but then it is no longer a ban caching, to put it mildly. - knes
- I understood your idea ... But still it seems to me there should be another azgolovok: header ("Cache-control: no-store, max-age = 0e"); And
header("Cache-control: no-cache");
This is sort of for proxy servers. - alex_90
|