Re: Caching responses with "Vary" responses

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Tue, 24 Jul 2012 10:09:22 +0200

tis 2012-07-24 klockan 11:05 +1200 skrev Amos Jeffries:

> For the Vary meta its only a few hundred bytes normally as Alexander
> noted (~230 in his test).
>
> However some brilliant sites decide to use Cookie or User-Agent as one
> of the vary components. This can bloat the entry up to a worst-case of
> more than 64KB on some occasions. Other proxies and Apache allow ~10KB
> Cookie to be set so it is more the browser or scripted tools which
> generate these nasties.

That do not add to the Vary meta, but do add to the keying material.
Vary meta should only be the HTTP header names listen in Vary or patched
by Squid to work around broken servers.

Or is the shm cache using another keying method requiring the actual
varying header data?

Regards
Henrik
Received on Tue Jul 24 2012 - 08:09:33 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 24 2012 - 12:00:04 MDT