You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Torsten Foertsch <to...@gmx.net> on 2008/12/01 18:45:47 UTC

[users@httpd] What is the correct ETAG header?

Hi,

I have a compressed and an uncompressed version of the same document on 
my disk. If the client sends the correct Accept-Encoding I want to send 
the compressed version otherwise the uncompressed. If I send the 
compressed version a Vary header is set. So the answer is correct.

But how about the ETag header? Should I send the same ETag for both 
versions? Or can they differ because the Vary header says that the 
incoming Accept-Encoding is needed to identify the correct resource?

Thanks,
Torsten

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org