diff --git a/docs/en/reference/advanced-configuration.rst b/docs/en/reference/advanced-configuration.rst index abb72636c..00f8f8969 100644 --- a/docs/en/reference/advanced-configuration.rst +++ b/docs/en/reference/advanced-configuration.rst @@ -152,6 +152,7 @@ The recommended implementations for production are: - ``Doctrine\Common\Cache\ApcCache`` +- ``Doctrine\Common\Cache\ApcuCache`` - ``Doctrine\Common\Cache\MemcacheCache`` - ``Doctrine\Common\Cache\XcacheCache`` - ``Doctrine\Common\Cache\RedisCache`` @@ -183,6 +184,7 @@ The recommended implementations for production are: - ``Doctrine\Common\Cache\ApcCache`` +- ``Doctrine\Common\Cache\ApcuCache`` - ``Doctrine\Common\Cache\MemcacheCache`` - ``Doctrine\Common\Cache\XcacheCache`` - ``Doctrine\Common\Cache\RedisCache`` diff --git a/docs/en/reference/caching.rst b/docs/en/reference/caching.rst index 512254ef6..0839ff614 100644 --- a/docs/en/reference/caching.rst +++ b/docs/en/reference/caching.rst @@ -63,6 +63,24 @@ by itself. $cacheDriver = new \Doctrine\Common\Cache\ApcCache(); $cacheDriver->save('cache_id', 'my_data'); +APCu +~~~ + +In order to use the APCu cache driver you must have it compiled and +enabled in your php.ini. You can read about APCu +`in the PHP Documentation `_. It will give +you a little background information about what it is and how you +can use it as well as how to install it. + +Below is a simple example of how you could use the APCu cache driver +by itself. + +.. code-block:: php + + save('cache_id', 'my_data'); + Memcache ~~~~~~~~