fastcgi cache bypass empty body

Maxim Dounin mdounin at mdounin.ru
Sun Jan 8 12:49:17 UTC 2012


Hello!

On Fri, Jan 06, 2012 at 10:52:37AM +0200, Anıl Çetin wrote:

> 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?

No, there is no such option.

Maxim Dounin



More information about the nginx mailing list