Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Varnish 3.0 config for Drupal 7

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 etc
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

Varnish 3.0 for Drupal 7.x

Intended for use with the varnish, purge, and expires modules.

As per the documentation on drupal.org/project/varnish you should add something like the following to your settings.php file: $conf['cache_backends'] = array('sites/all/modules/contrib/varnish/varnish.cache.inc'); $conf['cache_class_cache_page'] = 'VarnishCache'; $conf['page_cache_invoke_hooks'] = FALSE; $conf['omit_vary_cookie'] = true;

Something went wrong with that request. Please try again.