https://issues.apache.org/bugzilla/show_bug.cgi?id=46538





--- Comment #1 from Oliver Schoett <oliver.scho...@capgemini-sdm.com>  
2009-01-29 03:42:56 PST ---
Created an attachment (id=23190)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23190)
Patch to correct ETags and Vary headers for compression

Here is a patch that corrects the ETag and Vary behaviour:

- ETags differ for gzipped and ungzipped output

- Vary: Accept-Encoding ist sent whenever a gzipped version is available

The latter change makes it possible for users of differently capable browsers
to receive gzipped and ungzipped reponses through the same proxy cache.
Previously, an ungzipped cached version would be delivered also to
compression-capable browsers, because the cache could not know there was a
gzipped version available.

This patch will be put in production on an e-commerce website shortly.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to