如果页面显示在FRAME中,则Chrome浏览器不支持页眉中的缓存策略 [英] Google Chrome does not honor cache-policy in page header if the page is displayed in a FRAME
问题描述
< meta http-equiv =Cache-Controlcontent =no-缓存/>
< meta http-equiv =Expirescontent =Fri,30 Apr 2010 11:12:01 GMT/>
< meta http-equiv =Expirescontent =0/>
< HTTP-EQUIV =PRAGMACONTENT =NO-STORE/>
如果页面为空,Google Chrome根据页面的内部缓存策略不会重新加载任何页面显示在一个框架中。就好像meta标签甚至不在那里。 Google Chrome似乎忽略了这些标签。
因为我在其他论坛上回答了这个问题,而在其他论坛上,回应者忽略了操作条件,所以我会重复一遍:当页面显示时在框架中。
我使用的是最新发布的版本,并且已升级至5.0.375.29测试版,但两种版本的行为相同。
是否有人请确认这种或那种方式,您看到的框架集和meta标签中给出的缓存/过期策略的行为?
谢谢
框架文档以及父/托管文档?
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?
这篇关于如果页面显示在FRAME中,则Chrome浏览器不支持页眉中的缓存策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!