Google Chrome does not honor cache-policy in page header if the page is displayed in a FRAME

北城以北 提交于 2019-12-19 21:27:31

问题


No matter what I do:

<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Fri, 30 Apr 2010 11:12:01 GMT" />
<meta http-equiv="Expires" content="0" />
<HTTP-EQUIV="PRAGMA" CONTENT="NO-STORE" />

Google Chrome does not reload any page according to the page's internal cache policy if the page is displayed in a frame. It is as though the meta tags are not even there. Google Chrome seems to be ignoring these tags.

Since I've gotten answers to this question on other forums where the person responding has ignored the operative condition, I will repeat it: this behavior occurs when the page is displayed in a frame.

I was using the latest released version and have since upgraded to 5.0.375.29 beta but the behavior is the same in both versions.

Would someone please care to confirm one way or another the behavior you are seeing with framesets and the caching/expiration policies given in meta tags?

Thanks


回答1:


Did you try those meta tags in both the framed document as well as the parent/hosting document?



来源:https://stackoverflow.com/questions/2798272/google-chrome-does-not-honor-cache-policy-in-page-header-if-the-page-is-displaye

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!