Varnish cache purging | Blog.feryn.eu
Varnish cache purging | Blog.feryn.eu
Extracted Page: http://blog.feryn.eu/2010/11/varnish-cache-purging/
Varnish cache purging | Blog.feryn.euVarnish is a very popular HTTP accelerator. One of its key features is caching.
When dealing with caching, it is always tricky to do correct Time To Live estimations. Especially when the trade-off is caching efficiently versus serving fresh content. To tackle that issue, you can invalidate cache entries via purging.
How Varnish does it
In the Varnish API there is a function called purge_url. It accepts a URL pattern as an argument and purges it. On the next hit the purged item gets replaced with the corresponding fresh content.
There are
Additional text has been truncated due to copyright reasons. Things without URLs and private things don't get truncated.