cache-control no work in html file???

liunx

Guest
I have this meta tag for no-cache:<br />
<br />
<meta http-equiv="cache-control" content="no-cache, must-revalidate"> <br />
<meta http-equiv="pragma" content="nocache"><br />
<meta http-equiv="expires" content="-1"><br />
<br />
I had write that in header html file but I test in localhost this page still cache???? have anyone had experience? pls help me, thks<!--content-->how do you know its cacheing, is the html document in your temporary internet files? Basically those meta tags mean the browser is going to reload the page every time you go to the site, it is not neccessarily just going to not cache it. I am not sure how each browser handles it but I am pretty sure ie does what I mentioned above, but if someone says otherwise Ill believe them because I have not read much about this.<!--content-->Yeah, It store in Temporary internet file. And user can view its on offline state.<!--content-->whats wrong w/ that? You cant stop a user from Download <!--more-->ing your content so if you are trying to use cache controls for security it isn't going to work.<!--content-->No, I'm not use cache controls for security. <br />
html file store in Temporary internet file cause cache in the html page i want to show the new content every time user view that page...<!--content-->that cache control should over ride the page stored and force the browser to recache it.<!--content--><meta http-equiv="Cache-control" content="no-cache"><br />
<meta http-equiv="Cache-control" content="must-revalidate"><br />
<meta http-equiv="Cache-control" content="max-age=0"><br />
You might try righting out the cache control stuff like that and adding max age to it.<!--content-->
 
Back
Top