Cannot totally switch off caching

Maxim Dounin mdounin at
Tue Jul 2 12:27:51 UTC 2013


On Tue, Jul 02, 2013 at 07:49:56AM -0400, imanenkov wrote:

> Maxim Dounin Wrote:
> -------------------------------------------------------
> > Unfortunately, all the tests you did actually prove nothing.  
> > You've been told to switch off php-fpm, not to change nginx 
> > configuration.
> Do you mean stopping php-fpm with "/etc/init.d/php5-fpm stop" command?


> In this case I receive a "error 502 bad gateway" error.

This proves that the response is _not_ cached by nginx, but it's 
got from php-fpm instead.  As already suggested early, you have to 
look into your php code.

Maxim Dounin

More information about the nginx mailing list