Purge while taking hostname into account

Eran Sandler eran at sandler.co.il
Sun Mar 14 20:47:06 CET 2010


Nevermind :-) I found the answer I was looking for here:
http://kristian.blog.linpro.no/2010/02/02/varnish-purges/

 <http://kristian.blog.linpro.no/2010/02/02/varnish-purges/>Thanks Kristian
:-)

I also better understand how purging works in Varnish. Quite a cool concept!

Eran

On Wed, Mar 10, 2010 at 1:41 PM, Eran Sandler <eran at sandler.co.il> wrote:

> Hello all,
>
> I have a purging question.
>
> I know that when Varnish caches data it takes the Host header into account
> so the same file request under different host name should have different
> cache entries.
> When I want to have a certain URL removed, I can use the method described
> in the examples on the wiki to invalidate that specific URL by setting the
> ttl to 0.
>
> I am, however, interested in a wildcard purging that won't affect other
> caches under different host names.
> the purge method seems to accept only a URL.
>
> Is there a way of doing a wildcard purge that will take the Host header
> into account?
>
> Thanks,
> Eran
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100314/2a3ad27c/attachment-0003.html>


More information about the varnish-dev mailing list