Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is wrong documentation if using the code from README.txt
$conf['cache_backends'] = array('sites/all/modules/varnish/varnish.cache.inc');
is overriding all backends. So to use varnish with memcache there should read:
$conf['cache_backends'][] = 'sites/all/modules/varnish/varnish.cache.inc';
//add memcache as cache_backend
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
Comment | File | Size | Author |
---|---|---|---|
#1 | varnish-readme-1525316-1.patch | 606 bytes | mgifford |
Comments
Comment #1
mgiffordPatch included.
Comment #2
plopescThis is an easy doc improvement that can help so many people who do not pay attention to the code and just copy and paste the README file info, like me :)
I experienced this bug with a custom module that provides a cache bachend that stop working after using this. This patch will provide some doc that will work on every drupal site.
These changes should be applied to project page too.
Thank you!
Comment #4
MiSc CreditAttribution: MiSc commentedOk, committed to latest dev.