Caching non 200 results

Jeroen Ooms jeroen.ooms at
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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list