浏览器对电子标签的支持
我正在努力让我的网站支持 eTag/If-None-Match 浏览器缓存,但我不确定哪些浏览器支持/不支持它。谁能指点我一份清单吗?我无法想象它是普遍的,但我还没有找到任何支持这种说法的东西。
干杯,
麦克风
I'm working on getting my site to support the eTag/If-None-Match browser cache, but I'm not sure which browsers do/don't support it. Can anyone point me to a list? I can't imagine it's universal, but I haven't found anything that supports that claim.
cheers,
Mike
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
HTTP 1.1(1999 年 6 月)中指定了 If-None-Match:
http ://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
根据维基百科:
根据我的经验,所有流行的浏览器,IE5.5+, Safari、Chrome、Opera 和 Firefox 都支持 ETag/If-None-Match 标头。
但是,还有一些其他标头会阻止这些浏览器尊重 etag...因此,如果它不适合您,我会仔细检查当客户端请求资源时发送回客户端的其他标头。
您问这个问题有什么特别的理由吗?也许如果您有一个特定的实例遇到问题,我们可以查看其他标头?
但这些标头已经存在很长时间了,它们是网络上广泛使用的关键缓存机制。
If-None-Match was Specified in HTTP 1.1 (June 1999):
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
According to Wikipedia:
In my experience, all browsers in popular use, IE5.5+, Safari, Chrome, Opera, and Firefox, all support the ETag/If-None-Match headers.
However, there are some other headers which will stop these browsers from respecting the etag... so if it's not working for you, I'd carefully examine the other headers being sent back to the client when they request a resource.
Do you have any particular reason for asking the question? Maybe if you had a specific instance you were having an issue with, we could look at the other headers?
But these headers have been around for a long time, and they are a key caching mechanism used widely around the net.