503 after a 304 backend response.

Andreas Plesner apj at mutt.dk
Fri Jul 15 09:42:07 CEST 2016


On Fri, Jul 15, 2016 at 12:24:04AM +0200, Yiannis Karayiannidis wrote:

> I've got a "problem" with varnish 4.1.3 with error 503 after a backend
> response with 304
> 
> I believe my mistake is that i try to cache a URL for which the backend
> send 304 response and that is something unallowed.
> 
> Is that correct?
> If not was where is the problem?

Varnish did not do a conditional request, so a HTTP 304 is not a valid
response. See RFC 7232.

-- 
Andreas



More information about the varnish-misc mailing list