>>Hi,
>>
>>i am new to varnish and i am wondering, if it is possible to exclude 
>>everything in a directory (including subdirectories) from caching.
>>
>>It works with single files, like:
>>
>>if (req.url ~ "/test/README.txt") {
>>    pass;
>>}
>>
>
>       if (req.url ~ "^/test/") {
>           pass;
>       }
>
>?

Thanks, it works. 

So i probably should get in to learning regular expressions.

Best wishes,
martin

_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to