开发者

Caching of HTML pages

I have included meta tags for Cache-control - no cache and Pragma no cache and Expires in my html page. But still i find the html pages in Temporary Internet File开发者_JS百科s folder on my system with expires timestamp.

If i make another request to server after the timestamp expiration value, the page my browser is going to show is a new page or a cached page from the folder on my system.

How to test, whether the page is a cached page or a new page from Server?


Go to a page which shows the time (or some other dynamic value), then compare the time it shows on your first page load to the value it shows you on the second page load.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜