AW: caching directories

Martin Abt martin.abt at vertical.ch
Tue Apr 8 17:15:02 CEST 2008


>>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




More information about the varnish-misc mailing list