Using Varnish to accelerate CouchDB
karel.minarik at gmail.com
Sat Nov 6 12:32:11 CET 2010
> you will need some kind of cache invalidation. When you change the
> in CouchDB, your application will have to notify Varnish the document
> has changed and should purge it form the cache.
well, that's certainly doable, but I would rather not mess with cache
invalidation -- that'd bring a whole different layer in the stack.
> Or, if you don't care Varnish will serve stale version of the
> you can cache it for some short period without the invalidation.
Yes, that's an approach we could use for certain resources, but not
ideal for most.
I am still curious if Varnish use ETag based caching at all?
It seems that Squid also does not work with ETags (http://wiki.squid-cache.org/Features/EtagSupport
). Can someone please clarify this?
The only info I've found is this old thread: http://lists.varnish-cache.org/pipermail/varnish-misc/2008-November/002184.html
More information about the varnish-misc