I'm trying to configure varnish not to cache any domain that begins with "staging" using the pass method like so:
if( req.url ~ "^(staging.)" )
I suspect I'm using VCL selectors wrong but after looking around on the n
If you'd like Varnish "not to cache" and "not to look up in the cache", then the following should work...
For more info, checkout a similar solution from the official book on Varnish.