WordPress.org

Ready to get started?Download WordPress

Plugin Directory

APC Object Cache Backend

APC Object Cache provides a persistent memory-based backend for the WordPress object cache. APC must be available on your PHP install.

2.0.6

  • Fixed a PHP notice

2.0.5

  • Implements wp_cache_switch_to_blog()
  • Degrades to the built-in PHP-memory cache when APC is not available (now plays with WP-CLI)
  • Clone objects before storing them to the local cache, so changes to them don't corrupt the cache
  • Clear the local PHP memory cache when the APC cache is cleared

2.0.4

  • die() when people mistakenly try to activate this as a plugin, and provide a helpful message for where they should move the file

2.0.3

  • Parity with the Memcache backend, as much as was possible
  • Object cloning
  • Requires WP 3.1+
  • Fix double-equals vs triple-equals bug with boolean true values

2.0.2

  • Perform the md5( ABSPATH ) calculation once per load (props jdub)
  • Allow users of complex wp-config.php setups to define WP_APC_KEY_SALT to guarantee key uniqueness (props jdub)
  • Lose the preg_replace() call in ::key() (props jdub)
  • Rename the incr method to incr2 and then conditionally add incr via class extension (so that Batcache can properly detect incrementor support)
  • Convert arrays to ArrayObject objects (APC does not cache multi-level arrays or arrays of objects, so this works around that)
  • Require PHP 5.2+

2.0.1

  • Fixed bugs in wp_cache_delete()

2.0

  • First version in SVN
  • Updated to support increment/decrement and feature parity with the Memcached backend (except for multiget support)

Requires: 3.3 or higher
Compatible up to: 3.5.2
Last Updated: 2012-12-20
Downloads: 21,893

Ratings

4 stars
4.9 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

50,4,2
100,1,1
33,3,1
100,2,2
100,1,1
86,7,6
60,5,3
100,5,5
100,2,2
100,1,1
100,1,1 100,4,4
100,1,1
100,1,1 100,1,1
100,4,4
100,1,1
100,1,1
100,3,3
100,1,1