开发者

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

开发者 https://www.devze.com 2022-12-29 22:09 出处:网络
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\" />

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


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

0

精彩评论

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