Does anyone have a copy of a Varnish config file they are using on Moodle 2.x?
I can't get it to cache anything at all. I can see Varnish is working, but it just passes all requests to the backend and caches nothing.
Thanks.
I'm seeing the same thing so if any one has any ideas or configs to share then that would be great
I got some hits by adding the below to the /etc/varnish/defualt.vcl
sub vcl_recv { if (req.url ~ "^/(theme|pix|blocks|lib)/") { unset req.http.Cookie; } }
I'm guessogn there must be more that can be added somewhere