VCL help needed

Poul-Henning Kamp phk at
Tue Jan 30 12:22:24 CET 2007

In message <8591. at localhost>, ff at write
>> 	if (req.url ~ "\.css$|\.gif$|\.jpg$|\.mp3$|\.svf$") {
>or with less typage, right?:
> 	if (req.url ~ "\.(css|gif|jpg|mp3|swf)$") {

Probably yes, I'm not a RE wizard either :-)

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list