Caching non 200 results

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Wed Aug 24 20:59:50 CEST 2011


By default, varnish only cashes results if the backend returned a http 200
OK. How can I set varnish to cashe HTTP 400 results as well as HTTP 200
results? The HTTP 400 is quite frequent in my app and a request that
resulted in HTTP 400 will always do so if it is re-requested, so I would
like to cashe these results as well.

Thanks,

Jeroen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110824/5e957425/attachment-0003.html>


More information about the varnish-misc mailing list