Hi there. I think purge_hash is quite nice, but to be easier to use from VCL code it would be nice to have a function to "regexp-ize" a constant string, as I feel a bit conscious about matching too much or too little in using a normal string as a regular expression, e.g.
'/index.html' also matches '/indexhhtml' (ok, this is just paranoia) '/index.html?id=1' DOES NOT match itself. This seems an heavy limit on VCL-driver usage of purge_hash… but maybe there's a workaround available already that I didn't notice? be good, -- Lapo Luchini - http://lapo.it/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc