缓存的技巧
Put that in the HEAD section of the HTML page
However, MS IE (almost all versions) do not process the instruction properly due to the cache mechanism.
NOTE: the above example uses META HTTP-EQUIV="REFRESH" to make the browser reload the page automatically after 5 seconds, this is for demonstration purpose only (to see that the cache is actually bypassed). This has nothing with the bypassing of the cache itself.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
The workaround is to included a second <HEAD> section at the bottom of the page (no joke!).
<HTML><HEAD> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="REFRESH" CONTENT="5"> <TITLE> Demonstration Pragma No-cache </TITLE> </HEAD><BODY> This page has 2 HEAD sections to properly bypass the cache in all browser. </BODY> <HEAD><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"></HEAD> </HTML>