Hi All,
I’m struggling to get varnish to work for me. It’s up and running Ok, just not giving me the caching I’d like. I’ve added this.defaultProxyCacheTimeout = 120
into the farcryConstructor.cfc and also the decorators @@proxyCacheTimeout: 120
& @@cacheStatus: 1
into my webskin. But varnish won’t cache.
If I add the following into default.vlc :
if ( !( req.url ~"^/farcry/") ) {
unset req.http.Cookie;
}
I get caching big time, but then when logged in I get no bar at the bottom of my pages and a few other odd cache related oddities (like the login page not redirecting properly even though I’m logged in.)
Has anyone come up with some secret sauce vlc to get varnish to behave well with farcry?
Cheers Phil
`