if (req.url == "/") {
return(pass);
}
Does this allow us to cancel the varnish only on the homepage (ex: www.prism.com) and not other pages like www.prism.com/product?
I was thinking this would also work, but I am not sure, and is the above the better option?
if (req.url ~ "") {
return(pass);
}
I just want it to skip caching on the homepage, because we're using it to set a cookie for all users. I need to modify the caching, because I realized some code for generating cookies didn't work during peak hours.