Varnish Caching

If you are experiencing missing pages when using a Varnish caching server with ProjectHuddle you might try and use the following rules to help prevent this:

In your Varnish Configuration:

// Tells Varnish to pass through on the website script loader
if (req.url ~ "ph_apikey") { return (pass); }

// Tells Varnish to pass through on the access token urls
if (req.url ~ "access_token") { return (pass); }

// Tells Varnish to pass through on any request with mockup in the url
if (req.url ~ "mockup") { return (pass); }

// Tells Varnish to pass through on any request with website in the url
if (req.url ~ "website") { return (pass); }

// Tells Varnish to pass through if any cookies with `PHPSESSID` are found
if (req.http.cookie ~ "PHPSESSID") { return (pass); }
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.