How does Varnish handle gzip on pages and objects (http_gzip_support=off)?

Varnish has the ability to gzip content just like Apache and Nginx. However, and by design, we've turned off gzip support in order to give your end users control over compression as they see fit and also to let Varnish do what it does best: caching and acceleration. Even though gzip is off in Varnish, it can still cache gzip content. Your users will leverage Apache's mod_deflate just like they're used to and retain control of their compression via htaccess (this wouldn't have been possible were Varnish gzip turned on).

This is the flag that's fed to the varnishd daemon to turn off gzippin Varnish: http_gzip_support=off).
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

How do I uninstall the cPanel Varnish Plugin?

Here are the steps to remove the cPanel Varnish Plugin from your server. It's recommended that...

I've installed the cPanel Varnish Plugin, now what?

No action is required from your end. The installation script takes care of installing and...

Where can I download the installer?

The installer is in the Client Area location. Simply login to your account at...