varnish-bites icon indicating copy to clipboard operation
varnish-bites copied to clipboard

Varnish VCL Samples and Hacks

Varnish Bites

There are some sample VCL files and snippets, most of them Drupal focused.

Contents

  • varnish3 : varnish 3.x resources
    • drupal-base.vcl : A complete Varnish 3.x config for Drupal 7 / Pressflow 6 & 7 full of comments and suggestions.
  • varnish4 : varnish 4.x resources
    • drupal-base.vcl : A complete Varnish 4.x config for Drupal 7 / Pressflow 6 & 7 full of comments and suggestions.

Other interesting GitHub resources about Varnish

  • https://github.com/cosimo/vlogdump
  • https://github.com/mattiasgeniar/varnish-3.0-configuration-templates
  • https://github.com/mattiasgeniar/varnish-4.0-configuration-templates
  • https://github.com/fgsch/varnish3to4

Interesting posts/manuals/resources (in English)

https://fourkitchens.atlassian.net/wiki/display/TECH/Configure+Varnish+3+for+Drupal+7

Interesting post/manuals/resources (in Spanish)

http://www.sromero.org/wiki/linux/servicios/varnish