Hi,<br><br>I would like to know what's the right way to avoid caching "some pages" of a website using Varnish and cache all the others.<br><br>This is what I have tried to do with the vcl conf:<br><br>sub vcl_fetch {<br>
         #set beresp.ttl = 1d;<br>         if (!(req.url ~ "/page1withauth") ||<br>             !(req.url ~ "/page2withauth")) {<br>            unset beresp.http.set-cookie;<br>         }<br>         if (!beresp.cacheable) {<br>
             return (pass);<br>         }<br>         if (beresp.http.Set-Cookie) {<br>             return (pass);<br>         }<br>         return (deliver);<br>}<br><br>Thanks<br><br>--<br><a href="http://D-Ro.ch">D-Ro.ch</a>