2013年2月18日 星期一

[Web] How to force browsers not to cache your website?

I've found the useful meta tag information, and you just add the information inside "head" tag.


<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no cache">


Cheers.

沒有留言:

張貼留言