Mailing List Archive

please test Varnish "Vary:" matching
I have implemented a very efficient and simple "Vary:" processing
in varnish(-trunk) now.

The simplicity is based on a number of assumptions which I have
very little supporting evidence for, apart from my informed guesses.

Please read:
http://varnish.projects.linpro.no/wiki/ArchitectureVary

And report back whether it works for you or not...

Poul-Henning


--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
please test Varnish "Vary:" matching [ In reply to ]
Poul-Henning Kamp <phk at phk.freebsd.dk> writes:
> I have implemented a very efficient and simple "Vary:" processing
> in varnish(-trunk) now.
> [...]
> And report back whether it works for you or not...

Works for me for deflate. Very useful for tinderbox.des.no, as the
typical compression ratio for tinderbox logs is 15:1.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
please test Varnish "Vary:" matching [ In reply to ]
In message <87tztg8131.fsf at des.linpro.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=
writes:
>Poul-Henning Kamp <phk at phk.freebsd.dk> writes:
>> I have implemented a very efficient and simple "Vary:" processing
>> in varnish(-trunk) now.
>> [...]
>> And report back whether it works for you or not...
>
>Works for me for deflate. Very useful for tinderbox.des.no, as the
>typical compression ratio for tinderbox logs is 15:1.

Please pay attention to the increase in cache size, in particular
if you Vary: on User-Agent:

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
please test Varnish "Vary:" matching [ In reply to ]
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> Dag-Erling Sm?rgrav <des at linpro.no> writes:
> > Works for me for deflate. Very useful for tinderbox.des.no, as the
> > typical compression ratio for tinderbox logs is 15:1.
> Please pay attention to the increase in cache size, in particular
> if you Vary: on User-Agent:

It's a low-traffic site, so it's hard to measure... and I only Vary: on
Accept-Encoding.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
please test Varnish "Vary:" matching [ In reply to ]
In message <87k5ub9b1t.fsf at des.linpro.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=
writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
>> Dag-Erling Sm=C3=B8rgrav <des at linpro.no> writes:
>> > Works for me for deflate. Very useful for tinderbox.des.no, as the
>> > typical compression ratio for tinderbox logs is 15:1.
>> Please pay attention to the increase in cache size, in particular
>> if you Vary: on User-Agent:
>
>It's a low-traffic site, so it's hard to measure... and I only Vary: on
>Accept-Encoding.

I guess we can pull some stats out of the shmlog by looking at XID numbers
in hit or something...

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.