Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy every request is being processed by PHP-FPM? (even if I'm using Cache)
    primarykey
    data
    text
    <p>I'm running Wordpress with: Nginx + PHP-FPM + APC + W3 Total Cache + PageSpeed. After 3 days researching and configuring, I succeeded to configure.</p> <p>Running "top" and hitting some cached pages, it shows:</p> <pre><code>PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13387 nginx 20 0 472m 11m 4664 S 12.3 2.0 0:46.55 nginx 17577 nginx 20 0 443m 47m 29m S 0.7 8.0 0:42.88 php-fpm 17591 nginx 20 0 438m 43m 29m S 0.7 7.2 0:42.59 php-fpm 1486 mysql 20 0 851m 21m 4832 S 0.3 3.7 1:24.71 mysqld 17907 nginx 20 0 438m 48m 34m S 0.3 8.1 0:36.78 php-fpm 18065 nginx 20 0 442m 47m 29m S 0.3 8.0 0:33.49 php-fpm 18543 nginx 20 0 445m 63m 42m S 0.3 10.6 0:22.94 php-fpm 21125 root 20 0 15012 1148 868 R 0.3 0.2 0:00.86 top 1 root 20 0 19356 1388 1136 S 0.0 0.2 0:00.74 init </code></pre> <hr> <p><strong>1) Why every request is being processed by PHP-PFM? Shouldn't W3 Total Cache supposed to prevent the request from been processed by PHP-FPM?</strong> </p> <p>I know that my page is being cached because every page return in the end of HTML:</p> <pre><code>&lt;!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/ Page Caching using disk: enhanced </code></pre> <hr> <p><strong>2) If I install Varnish in front of Nginx, will it stop the request from being processed by PHP-FPM? (Performance will increase? I'm using a Micro Ec2, Ram = 613MB)</strong></p> <p>PS: The response header is returning "Cache-Control: max-age=0, no-cache" from server. I don't know if this influence W3 Caching.</p> <p>My specs:</p> <ul> <li>Amazon Micro EC2</li> <li>Linux version 3.4.48-45.46.amzn1.x86_64 Red Hat 4.6.3-2 (I think it's based on CentOS 5)</li> <li>PHP 5.3.26 (fpm-fcgi)</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload