Created
July 6, 2012 09:57
-
-
Save ramlev/3059319 to your computer and use it in GitHub Desktop.
Varnish settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add Varnish as the page cache handler. | |
$conf['cache_backends'] = array('profiles/zcf_site/modules/contrib/varnish/varnish.cache.inc'); | |
$conf['cache_class_cache_page'] = 'VarnishCache'; | |
// Drupal 7 does not cache pages when we invoke hooks during bootstrap. This needs | |
// to be disabled. | |
$conf['page_cache_invoke_hooks'] = FALSE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment