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 André Øien Langvand wrote: > 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. Using purge_url(), it seems to be working quite nice with > purge_url(req.url), but I would really prefer to use purge_hash(). > > -- > 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: >>> Yes, that was my thought. Besides an if (req.http.Pragma ~ "no-cache") >>> in vcl_recv how can i purge the requested URL (and host)?. >> purge_hash() and purge_url(), as documented in vcl(7). >> >> DES > _______________________________________________ > varnish-misc mailing list > [email protected] > http://projects.linpro.no/mailman/listinfo/varnish-misc _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
