[Varnish] #940: ETag for gzip'd variant identical to ETag of ungzipped variant.
Varnish
varnish-bugs at varnish-cache.org
Mon Jun 20 21:08:44 CEST 2011
#940: ETag for gzip'd variant identical to ETag of ungzipped variant.
-------------------+--------------------------------------------------------
Reporter: david | Type: defect
Status: new | Priority: high
Milestone: | Component: build
Version: 3.0.0 | Severity: critical
Keywords: |
-------------------+--------------------------------------------------------
Hello,
With the introduction of gzip support in Varnish 3, we have run into a
problem where ETags are incorrectly duplicated between two different
objects. I'm not sure I need to provide much explanation here except to
remind the devs that ETags are unique, and need to be different for each
variant of a page (including a variant caused by gzip). You can read more
about it in an old bug report here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=39727
The only workaround I could come up with was to revert to storing two
copies of a page in cache (2.1.5 behavior) by turning off Varnish's gzip
support, and putting the Accept-Encoding normalization code back into
vcl_recv.
If there is another workaround, please let me know.
Regards,
-david
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/940>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list