eTags的浏览器支持

eTags的浏览器支持

本文介绍了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):


根据维基百科:

根据我的经验,所有流行使用的浏览器,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的浏览器支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 21:14