This file contains 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
#I did not create this, all credit to those that did. I am simply storing it here for my own use original URL: | |
#http://www.stardothosting.com/blog/2011/08/varnish-caching-with-joomla/ | |
# Place the following 2 configuration blocks right after your "backend default {…}" block | |
# inside your /etc/varnish/default.vcl file (the main Varnish configuration file) | |
# This Varnish configuration makes use of a custom HTTP header to determin whether | |
# some user is logged in or not inside Joomla! To allow this, simply append this code | |
# // Set user state in headers | |
# if (!$user->guest) { |
OlderNewer