Cannot totally switch off caching

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


Hello!

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?

Yes.

> 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
http://nginx.org/en/donation.html



More information about the nginx mailing list