eTags的浏览器支持 [英] Browser support for eTags

查看:125
本文介绍了eTags的浏览器支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力让我的网站支持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

推荐答案

HTTP-1.1(1999年6月)中指定了If-None-Match:

If-None-Match was Specified in HTTP 1.1 (June 1999):

http:/ /en.wikipedia.org/wiki/Hypertext_Transfer_Protocol

根据维基百科:


截至1996年3月,在Arena,Netscape 2.0,Netscape Navigator Gold 2.01,Mosaic 2.7,Lynx 2.5和Internet Explorer中支持预标准HTTP / 1.1 3.0。最终用户采用新的浏览器很快。 1996年3月,一家网络托管公司报告说,在互联网上使用的浏览器中有40%以上符合HTTP 1.1标准。同一个网络托管公司报告说,到1996年6月,65%的浏览器访问他们的服务器是HTTP / 1.1兼容。 RFC 2068中定义的HTTP / 1.1标准于1997年1月正式发布。1999年6月根据RFC 2616发布了对HTTP / 1.1标准的改进和更新。

By March 1996, pre-standard HTTP/1.1 was supported in Arena, Netscape 2.0, Netscape Navigator Gold 2.01, Mosaic 2.7, Lynx 2.5, and in Internet Explorer 3.0. End user adoption of the new browsers was rapid. In March 1996, one web hosting company reported that over 40% of browsers in use on the Internet were HTTP 1.1 compliant. That same web hosting company reported that by June 1996, 65% of all browsers accessing their servers were HTTP/1.1 compliant. The HTTP/1.1 standard as defined in RFC 2068 was officially released in January 1997. Improvements and updates to the HTTP/1.1 standard were released under RFC 2616 in June 1999.

根据我的经验,所有流行使用的浏览器,IE5.5 +,Safari,Chrome,Opera和Firefox都支持ETag / If-None-Match头文件。

In my experience, all browsers in popular use, IE5.5+, Safari, Chrome, Opera, and Firefox, all support the ETag/If-None-Match headers.

但是,还有一些其他的标题将阻止这些浏览器尊重etag ...所以如果它不工作,我会仔细检查其他标题当他们请求资源时被发送回客户端。

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.

这篇关于eTags的浏览器支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆