|
Search:
Advanced search
|
Browse by category:
|
Glossary |
Preventing caching or (no caching) of a website |
||||
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
This used to be used before IE 5 to prevent a page from being cached. You now have to add a second line: <META HTTP-EQUIV="Expires" CONTENT="-1"> as there's a bug in IE. Furthermore: you will need to reinsert the two tags below the body tag to ensure this is registered after the cache is filled: Sample Code: <HTML> <HEAD> <TITLE>---</TITLE> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> </HEAD> <BODY> Text in the Browser Window </BODY> <HEAD> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> </HEAD> </HTML> And that should work. |
||||
Powered by
KnowledgebasePublisher (Knowledgebase software)

