← Back to team overview

enterprise-support team mailing list archive

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

 

Public bug reported:

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: squid3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to squid3 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1336742

Title:
  Caching responses with "Vary" header

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1336742/+subscriptions


Follow ups

References