Cannot totally switch off caching
Maxim Dounin
mdounin at mdounin.ru
Mon Jul 1 11:40:15 UTC 2013
Hello!
On Mon, Jul 01, 2013 at 04:33:55AM -0400, imanenkov wrote:
> Greeting!
>
> For some testing I need to switch off a nginx caching (nginx + php-fpm). Now
> I have a trouble - when I request a server (PHP app) first time, response
> generated about 10 sec (its ok), but when a request a server another time
> (during approx 1-2 mins from first request) response is returned within
> 50-100 msec, as I understand from some cache.
By default nginx doesn't cache anything. You may want to look
into your php code to find out what is cached / causes reduced
response time in subsequent requests.
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx
mailing list