Forum Moderators: open

Message Too Old, No Replies

Howto fix IE with ETag and Compressed content

ETag gets lost.

         

BlackDex

11:25 am on Jul 11, 2006 (gmt 0)

10+ Year Member



Hello there.

I Have a problem.
I Want to use the ETag for cach controle.
This works for every browser, Except Internet Explorer.

It seems that IE forgets the ETag header when there is an Vary header or Content-Encoding is gzip.

Now i realy, realy want to fix this.
But how can i make this possible?

IE Just won't sent the ETag back to the server.

Thx in advance.

4specs

12:05 am on Jul 13, 2006 (gmt 0)

10+ Year Member



E-Tags are a bit more complicated than when-modifieds.

I suggest you just use the when-modified to generate the 304 and not the E-Tag. If you are including ads or any other information on the page, the E-Tag will change when the when-modified does not.

Your server is probably not setting an E-Tag with compression or with includes.

I use php to set the headers and to test for the 304 or 404.