Question
does zend opcode cache work with w3tc?
Hello,
its a simple question though, but seems a bit confusing to me.
does zend opcode cache work with w3tc? i saw in some place that w3tc doesn’t support zend optimizer as it follow some different way of caching.
i m on nginx, php5.5, php-fpm
one thing i must share, recently i went to stress test for my site with just 50 concurrent user and i saw my CPU level stays much lower when the zend opcode cache is turned off. don’t understand why this happened.
what should i do, please guide me someone
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I sort of answered this with the following link:
https://www.digitalocean.com/community/questions/is-there-any-detailed-tutorial-for-w3-total-cache-for-nginx?comment=34476
As far as I can tell, zend opcode cache does work with php55. But it is not supported.
there are some monitors that will allow you to peer into the zend opcache to view statistics.
they can be found here:
https://rtcamp.com/tutorials/php/zend-opcache/
if you want to lock down the cache viewing pages, and you have a linux workstation i would recommend running the cache veiwers on the localhost only and using a client side ssh config file to set up an ssh tunnel.
https://www.digitalocean.com/community/tutorials/how-to-configure-custom-connection-options-for-your-ssh-client
If you can’t do that then i would at least password protect the pages.
Testing takes a long time and requires very good notes. Results are difficult to control and reproduce exactly. I also would recommend running memcached.
To monitor memcache usage you can try https://github.com/lagged/memcache.php
Also, my wordpress site is very simple and does not have a lot of fancy plugins. So i would start simple and slowly add the plugins in and test.