caching directories

Martin Abt martin.abt at vertical.ch
Tue Apr 8 16:51:15 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;
}


How can I do this with directories ?


Best wishes,

martin




More information about the varnish-misc mailing list