Alexander Kunz Wrote:
> i am no drupal user/developer but if i google about drupal cache it
> sounds, there is not only one cache, and it sounds like its not only
> one
> click to disable it complete. Perhaps you can find some informations
> about the cache here:
>
> https://drupal.org/node/797346
Alexander Kunz Wrote:
---
>
> do you use a PHP framework? Most frameworks can cache also.
Yes, site based on Drupal 7. I trying to switch off drupal cache, all the
same.
> What
> happens
> if you request the page with a unique parameter which is
Maxim Dounin Wrote:
> If you want to change nginx configuration - just add
> $upstream_cache_status variable to a log, it will show if a
> response was from nginx cache (HIT) or was requested from a
> backend.
>
> Other upstream-related variables may be interesting too, in
> particular $upstre
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
Maxim Dounin Wrote:
> On the other hand, 100-200 msec is way too long for nginx to
> return a cached response.
>
> If you assume the response is cached by nginx somehow, simpliest
> test is to switch off php-fpm and check if you are still able to
> request a resource.
Thanks for idea! I change
Ben Johnson Wrote:
> Are you using some type of opcode-caching software, e.g. APC,
> memcached,
> etc.? If you're convinced that PHP is doing the caching, I would
> disable
> any opcode-caching software first.
>
> -Ben
Yes, initially I use APC, but I switch it off, and problem still exist.
Posted
Maxim Dounin Wrote:
---
>
> 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.
>
I think about it, but this is heavy app, and
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 returne