Finding your next read
Practical craft for people building for the web.
Explore DevelopmentFinding your next read
THE FINDERPRESS TOOL DIRECTORY
Explore this tool and check the official listing for its latest features and requirements.
01 / SOURCE DETAILS
APC Object Cache provides a persistent memory-based backend for the WordPress object cache. APC must be available on your PHP install. An object cache is a place for WordPress and WordPress extensions to store the results of complex operations. On subsequent loads, this data can be fetched from the cache, which will be must faster than dynamically generating it on every page load. The APC Object Cache backend is also compatible with Batcache , the powerful full page caching engine that runs on WordPress.com Be sure to read the installation instructions, as this is not a traditional plugin, and needs to be installed in a specific location.
02 / SOURCE DETAILS
Verify that you have PHP 5.2.4+ and a compatible APC version installed. Copy object-cache.php to your WordPress content directory ( wp-content/ by default). Done!
03 / SOURCE DETAILS
Does this work as a backend for Batcache? Yes! APC 3.1.1+ supports incrementers and handles its own cleanup of expired objects, so it works just fine for Batcache. Lower versions of APC will work, but the hits trigger will be disabled. Does this support versions of WordPress earlier than 3.3? Maybe, but I’m not going to support them, and you shouldn’t still be running them! I share `wp-config.php` among multiple WordPress installs. How can I guarantee key uniqueness? Define WP_APC_KEY_SALT to something that is unique for each install (like an md5 of the MySQL host, database, and table prefix).
KEEP EXPLORING