fastcgi cache bypass empty body

Anıl Çetin anil at
Fri Jan 6 08:52:37 UTC 2012

Hi All,
currently we are using nginx with fastcgi_cache with php backend. For
some conditions php returns an empty body (that we can not find the
cause) but sends some headers and nginx thinks it is valid. So it stores
the file which results to an empty response for upcoming requests.

Cached response from backend is attached, is there a configuration
option to prevent this?

p.s. I changed the site name to <site> in attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: df3c2d9b53cd7241702f43ecfcdc0596
Type: application/octet-stream
Size: 136 bytes
Desc: not available
URL: <>

More information about the nginx mailing list