SSL support

Dag-Erling Smørgrav des at
Wed Mar 12 17:54:33 CET 2008

Audun Ytterdal <ay at> writes:
> Dag-Erling Smørgrav wrote:
> > That was a wishlist item, not a promised feature.  However, Varnish 2.0
> > supports Vary, so if can enable compression on your backend, it will
> > "just work" - but DO NOT UNDER ANY CIRCUMSTANCES use the sample
> > configuration at the top of Apache's mod_deflate documentation, as it
> > will effectively make every compressable document uncacheable.
> You mean
> "AddOutputFilterByType DEFLATE text/html text/plain text/xml"
> Why will that make documents uncacheable?

No, that part is fine.  I was referring to the "Compress everything
except images" example right below it.

> Would be sad for non-gzipable browser, but that would be fixed by
> "Header append Vary User-Agent"

Absolutely not.  This will force Varnish to cache a separate copy of the
document for every single User-Agent string it encounters.

Browsers that do not support gzip or deflate do not need special
treatment: they do not send Accept-Encoding: and will therefore get an
uncompressed version of the page.

The only browsers that advertise gzip / deflate support but do not
actually support it (and therefore need the BrowserMatch rules) are
early versions of Netscape 4.  According to's December
2007 statistics, Netscape 4's market share is 0.00067 - less than one in
one thousand.

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

More information about the varnish-dev mailing list