varnish v2.1: Where is "set obj.ttl" now allowed?
Laurence Rowe
l at lrowe.co.uk
Mon Mar 29 17:57:47 CEST 2010
On 29 March 2010 11:42, Jens Schleusener
<Jens.Schleusener at t-systems-sfr.com> wrote:
> And another currently not important question: Principally much of the
> backend pages are delivered in two versions (for user-agent IE and for
> user-agent Firefox incl. others). So an idea may be to have two specific
> varnish caches like
>
> /- varnish IE -\
> Apache Backend CMS
> \- varnish FF -/
>
> The Apache as "user-agent"-scheduler is just choosen since it could/should
> also do other tasks. Would that be meaningful or can varnish control that
> already itself?
Your backend probably compresses responses and adds a "Vary:
Accept-Encoding" header. As IE and FF have slightly different versions
of this header, you need should normalise it in vcl_recv. See
http://varnish-cache.org/wiki/FAQ/Compression
Laurence
More information about the varnish-misc
mailing list