Hi!
I'd like to call a sub function and use the return-function. But is
there a return-function?
#called from vcl_fetch: call vcl_custom_cachingtime;
sub vcl_custom_cachingtimes {
if (req.url ~ "^/abc/*" {
set obj.ttl = 10m;
#return (0);
}
if (req.url ~ "^/def/*" {
set obj.ttl = 30s;
}
}
thanks in advance and cheers!
Daniel
:: Daniel Bruessler - Emilienstr. 10 - 90489 Nuernberg
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc