[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ETag & Content-Encoding




Julian Reschke wrote:

Franklin Tse wrote:

Hi all,

I have a question about the Entity Tag (ETag) and the Content-Encoding.

Should ETag be different when the content is transferred with different Content-Encoding?

Yes.

That doesn't appear to be the way that Apache behaves with static content.

$ curl -s --head http://www.intertwingly.net/favicon.ico| grep ETag
ETag: "7809f-13e-bd7ebd80"

$ curl -s -H Accept-encoding:gzip,compress --head http://www.intertwingly.net/favicon.ico| grep ETag
ETag: "7809f-13e-bd7ebd80"

- Sam Ruby