I need some advice here for default.vcl. Here's the rules:
- Only cache pages with urls that contains '/c/', the rest will pass
- Set the cache expiry to 3 hours
- Only cache and serve from cache if cookie 'abc' and cookie 'xyz' is empty
Thank you!
I need some advice here for default.vcl. Here's the rules:
Thank you!
however, empty and not set are two different things. Set up a test, you can use varnishlog on another session to see precisely what varnish is doing (it is quite detailed) and then adjust the rules to do what you need.