From 022298116164322fc5eb4c8eb6c7f32394399cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Osman=20U=CC=88ngu=CC=88r?= Date: Thu, 19 Apr 2012 11:34:12 +0300 Subject: [PATCH] Added notes about configuration --- en/reference/configuration.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/en/reference/configuration.rst b/en/reference/configuration.rst index 1724886cb..fe0b7bb0c 100644 --- a/en/reference/configuration.rst +++ b/en/reference/configuration.rst @@ -177,7 +177,7 @@ setup methods: These setup commands make several assumptions: - If `$devMode` is true always use an ``ArrayCache`` and set ``setAutoGenerateProxyClasses(true)``. -- If `$devMode` is false, check for Caches in the order APC, Xcache, Memcache (127.0.0.1:11211) unless `$cache` is passed as fourth argument. +- If `$devMode` is false, check for Caches in the order APC, Xcache, Memcache (127.0.0.1:11211), Redis (127.0.0.1:6379) unless `$cache` is passed as fourth argument. - If `$devMode` is false, set ``setAutoGenerateProxyClasses(false)`` - If third argument `$proxyDir` is not set, use the systems temporary directory. @@ -280,6 +280,7 @@ The recommended implementations for production are: - ``Doctrine\Common\Cache\ApcCache`` - ``Doctrine\Common\Cache\MemcacheCache`` - ``Doctrine\Common\Cache\XcacheCache`` +- ``Doctrine\Common\Cache\RedisCache`` For development you should use the ``Doctrine\Common\Cache\ArrayCache`` which only caches data on a @@ -310,6 +311,7 @@ The recommended implementations for production are: - ``Doctrine\Common\Cache\ApcCache`` - ``Doctrine\Common\Cache\MemcacheCache`` - ``Doctrine\Common\Cache\XcacheCache`` +- ``Doctrine\Common\Cache\RedisCache`` For development you should use the ``Doctrine\Common\Cache\ArrayCache`` which only caches data on a