Need Varnish configuration advice

Posted by Patrick on Server Fault See other posts from Server Fault or by Patrick
Published on 2010-04-17T02:43:10Z Indexed on 2010/04/17 3:03 UTC
Read the original article Hit count: 319

Filed under:

Hello fellows, I need some advice here for default.vcl. Here's the rules:

  1. Only cache pages with urls that contains '/c/', the rest will pass
  2. Set the cache expiry to 3 hours
  3. Only cache and serve from cache if cookie 'abc' and cookie 'xyz' is empty

Thank you!

© Server Fault or respective owner

Related posts about varnish