Do not cache the page for data real-time requirements of a very strong function is very important, the following is the HTML, ASP, PHP force does not cache the page code.
HTML Force page does not cache code
<!--no cache headers--
<meta http-equiv= "Pragma" content= "No-cache" >
<meta http-equiv= "No-cache" >
<meta http-equiv= "Expires" content= "-1" >
<meta http-equiv= "Cache-control" content= "No-cache" >
<!--end No cache headers--
ASP Force page does not cache code
Response.Buffer = True
Response.Expires = 0
Response.ExpiresAbsolute = Now ()-1
Response.CacheControl = "No-cache"
Response.AddHeader "Expires", Date ()
Response.AddHeader "Pragma", "No-cache"
Response.AddHeader "Cache-control", "Private, No-cache, Must-revalidate"
PHP Force page does not cache code
The following code can force the browser not to cache page content, for http/1.0 and http/1.1
Header (' Expires:sat, Jul 1997 05:00:00 GMT ');
Header (' last-modified: '. Gmdate (' d, D M Y h:i:s '). ' GMT ');
Header (' Cache-control:no-store, No-cache, Must-revalidate ');
Header (' cache-control:post-check=0, pre-check=0 ', false);
HTML, ASP, PHP force do not cache pages