VCL purge
André Øien Langvand
andre at idium.no
Fri Feb 29 12:20:05 CET 2008
Anyone?
What I want is when a client sends e.g Pragma: no-cache, I want warnish
to fetch from backend and insert, not only do a pass.
--
André Øien Langvand <andre at idium.no> - PGP: 0x7B1E3468
Systemadministrator - Idium AS - http://www.idium.no
André Øien Langvand wrote:
> Hi,
>
> A few days ago, DES wrote the following in reply to another mail:
>
>>> If the point of this is to allow the client to Shift-Reload, you
>>> should purge the URL to force a reload from the backend, instead of
>>> piping the request.
>
> And the question is, how can I do this? I'm having problems figuring out
> what the purge_hash() needs to look like. I guess being allowed to use
> purge_hash(req.hash) would be the easiest, but that doesn't work. I've
> tried to use several combinations of req.url and req.http.host, but
> can't find a working one. purge_hash() is needed because of virtual hosts.
>
>
More information about the varnish-misc
mailing list