VCL purge
Dag-Erling Smørgrav
des at linpro.no
Tue Mar 4 12:45:50 CET 2008
André Øien Langvand <andre at idium.no> writes:
> Thank you, that makes sense now. However, I am still not able to make it
> work. E.g using purge_hash(req.url + '#' + req.http.host + '#$'); throws
> me an syntax error, failing at the apostrophe ('). Also tried diffrent
> variations of quotation marks and backslashes. Is the escaping wrong?
Sorry, my bad: those should be double quotes, not single quotes.
I'm not sure you need the final #, btw. An easy way to check is to
add a custom header with obj.hash (should work in the latest trunk) to
see what it really looks like.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
More information about the varnish-misc
mailing list