if-none-match status

Rogério Schneider stockrt at gmail.com
Sat Oct 10 00:06:55 CEST 2009


2009/10/9 Joe Williams <joe at joetify.com>:
>
> Has is been considered doing this with the backend servers rather than
> the client? Basically to re-validate objects in the cache? A request
> hits varnish, varnish requests the backend with an if-none-match header
> and the backend replies with either a 200 or 304. This way the client
> does not need to know anything of etags, the cache is always up to
> date for commonly requested objects and the backend won't need to
> produce the content if the object in the cache is the most recent.

Take a look at:

http://varnish.projects.linpro.no/changeset/4294

The change was made to the "client <-> varnish" communication, not
"varnish <-> backend". This later communication is, AFAIK, always done
without conditionals.

Regards,
-- 
Rogério Schneider

MSN: stockrt at hotmail.com
GTalk: stockrt at gmail.com
Skype: stockrt
http://stockrt.github.com



More information about the varnish-misc mailing list