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?-- André Øien Langvand <[EMAIL PROTECTED]> - PGP: 0x7B1E3468 Systemadministrator - Idium AS - http://www.idium.no Dag-Erling Smørgrav wrote: > André Øien Langvand <[EMAIL PROTECTED]> writes: >> Yep, and as mentioned in the first mail, I've tried to use both >> req.url and req.http.host in diffrent combinations in purge_hash() >> without any luck. > > purge_hash() wants the object's hash string, which is something like > req.url + '#' + req.host. If you only have one virtual host, just use > purge_url() instead. > > DES _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
