Report this

What is the reason for this report?

does zend opcode cache work with w3tc?

Posted on December 24, 2014

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

This question was answered by @mdsimoni:

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.

View the original comment

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.