invalidating (ban) a cache problematically, real life maximum?

James Pearson james at
Tue Oct 9 21:03:49 CEST 2012

Excerpts from S Ahmed's message of 2012-10-03 12:31:05 -0700:
> Maybe I have misunderstood this, but I'm guessing their are ruby/java
> client libraries that when content gets updated in a web application, I
> could then send a request using the ruby/java client library to ban a
> specific item from cache right?

I don't think there are /libraries/; you just use your favorite asynchronous
HTTP library to make a request to Varnish such that it will hit the VCL rules
that purge the object.  At the end of the page you linked to, there's an
example in PHP using the overly-verbose builtin curl library; even in Java it
shouldn't be that bad.  It'll pretty much be the same thing, though, just in
another language.
 - P

More information about the varnish-misc mailing list