[squid-users] Caching for my site
Amos Jeffries
squid3 at treenet.co.nz
Fri Dec 14 06:37:05 UTC 2018
On 14/12/18 6:55 pm, 726mediallc wrote:
> Thank you for the quick reply, but what are "Vary headers?"
>
"Vary" is an HTTP header presented by servers for use by caches. It
tells the cache which parts of a client request message to use when
looking for possible cache entries.
Without it only the URL is used and that prevents HTTP features like
compressed responses, per-user customization of page contents, login vs
non-login views of pages, and user language translations from working
properly.
Technical details at <https://tools.ietf.org/html/rfc7231#section-7.1.4>
PS. since you seem not to already know HTTP the wordpress plugins might
be the best way to start from. See what they do to HTTP messages vs the
HTTP documentation (RFCs 7230 to 7235), with the redbot tool as a way to
get a quick explanation about caching related features they enable.
Amos
More information about the squid-users
mailing list