purge_hash and regular expressions
lapo at lapo.it
Fri Mar 13 11:15:50 CET 2009
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?
Lapo Luchini - http://lapo.it/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 896 bytes
Desc: OpenPGP digital signature
More information about the varnish-misc