Articles of apc

After having installed APC Object Cache Backend transients stopped working

My understanding is that once you enable the persistent object cache, your transients are no longer stored in wp_options but in the cache. Once I installed Mark Jaquith’s APC Object Cache Backend, calls to get_transient( $key ) no longer return the transient in question. Where should I look next? EDIT: One very important piece of […]

Running code before object-cache.php runs

I want to polyfill some functions before object-cache.php runs. I have PHP7 and APCu installed. However, W3 Total Cache is using apc_* functions, not apcu_* functions. W3 Total Cache’s object cache runs using object-cache.php, which is loaded before any plugins run. How can I run custom code before W3 Total Cache runs without modifying WordPress […]

How to enable Zend Optimiser+ with Batcache

I am using Batcache with APC Object Cache Backend so far. A lot of posts on internet claiming that using Zend Optimizer instead of APC would reduce CPU and memory usage. I could enable Zend Optimizer on my server. But I haven’t found a plugin or workaround to make Batcache works with Zend Optimizer. Is […]

WordPress performance – W3 Total Cache and memcached/APCu

I have freshly installed WordPress, Nginx with PHP-FPM, W3 Total Cache (plugin), memcached and APCu on PHP 5.5. I will run a benchmark on my local mac against the aforementioned AWS server using Apache Bench (ab), I get a consistent 240 Requests Per Second (RPS) with test.com poisoned to this server, or around 40 million […]

Speed up MU WordPress on Apache VPS?

I have a wordpress multisite 3.6 with 1 main site and 5 subdomains(with mapping domains) I am tried to make it faster, i install the W3 Total Cache plugin i add on my apache the APC 3.1.13 yum install httpd-devel pecl install apc Enable internal debugging in APC [no] : no Enable per request file […]

How to find out if an wp-admin action edited a file?

I want to create a small plugin to automatically purge the APC opcode cache after specific actions in the WordPress admin interface. This is necessary if e.g. apc.stat is set to 0, as a change to a file then doesn’t reset its cache value in the opcode cache and so calls will use the old, […]

Caching: APC vs APCu vs OPcache

I’m a bit confused and I’d like to know the difference between the APC, APCu, and OPcache. I’m using: WHM VPS Apache 2.4 PHP 5.5 Fastcgi Processor 6 vCores RAM 8 Gio