Hi, I have been using almost the same command as yours: purge req.http.host == example.com && req.url ~ ^/.*style.css (no quotes needed :P)
Thank you & cheers. On 6.7.2010 9:52, Tollef Fog Heen wrote:
]] Alex F | Prior to version 2.1.2 there used to be hash.purge to which I would | pass the file and the url to be purged. | Now I see that it has been removed. | How can I achieve the same functionality? | eg: hash.purge style.css example.com Try: purge req.url == "style.css"&& req.http.host == "example.com" I think the quotes are needed, but you'll find out quickly enough yourself. :-) cheers,
_______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
