Practicalweb Ltd

Technical information on this site may be out of date : no updates since 2015

Using varnish to cache authenticated Drupal pages

October 15, 2013 , posted under drupal varnish esi caching

I have a site which requires users to be logged in, but the pages are not customised. I was playing with a way to cache the content in varnish while still doing an access check. This method uses an access check pages (test.php below) which then uses ESI to load the real, cacheable content.

I’ve tried it in a dev env, I’m not yet sure if we’ll use this in production.

Varnish config

Read More…