[Bug 1336742] [NEW] Caching responses with "Vary" header

Launchpad Bug Tracker 1336742 at bugs.launchpad.net
Wed Mar 4 16:17:36 UTC 2015


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

See the upstream bug report for more details [1], but it seems as though
squid in trusty isn't caching any response which includes a vary header
[2]. The upstream bug was fixed in 3.3.12 [3].

Steps to reproduce:
 * Setup an application returning responses with "Vary: User-Agent"
 * Add squid in front of an application server
 * Make multiple requests to squid

Expected result:
 * Second request is a Hit

Actual result:
 * Second (and subsequent) requests are all misses.

Repeat without a Vary header and things are cached as expected. Note,
I've only reproduced this with a specific setup (as in [2]), I've not
yet reproduced with a simplified setup to be certain I'm seeing the
upstream bug.


[1] http://bugs.squid-cache.org/show_bug.cgi?id=3806
[2] http://paste.ubuntu.com/7736175/
[3] http://www.squid-cache.org/Versions/v3/3.3/changesets/SQUID_3_3_12.html

** Affects: squid
     Importance: High
         Status: Fix Released

** Affects: squid3 (Ubuntu)
     Importance: Medium
         Status: Triaged

** Affects: squid3 (Ubuntu Trusty)
     Importance: Medium
         Status: Triaged

** Affects: squid3 (Debian)
     Importance: Undecided
         Status: Fix Released


** Tags: bitesize patch
-- 
Caching responses with "Vary" header
https://bugs.launchpad.net/bugs/1336742
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list