@@ -71,14 +71,24 @@ class Cache {
71
71
* both create new configurations, return the settings for already configured
72
72
* configurations.
73
73
*
74
- * To create a new configuration:
74
+ * To create a new configuration, or to modify an existing configuration permanently :
75
75
*
76
76
* `Cache::config('my_config', array('engine' => 'File', 'path' => TMP));`
77
77
*
78
- * To get the settings for a configuration, and set it as the currently selected configuration
78
+ * If you need to modify a configuration temporarily, use Cache::set().
79
+ * To get the settings for a configuration:
79
80
*
80
81
* `Cache::config('default');`
81
82
*
83
+ * There are 4 built-in caching engines:
84
+ *
85
+ * - `FileEngine` - Uses simple files to store content. Poor performance, but good for
86
+ * storing large objects, or things that are not IO sensitive.
87
+ * - `ApcEngine` - Uses the APC object cache, one of the fastest caching engines.
88
+ * - `MemcacheEngine` - Uses the PECL::Memcache extension and Memcached for storage.
89
+ * Fast reads/writes, and benefits from memcache being distributed.
90
+ * - `XcacheEngine` - Uses the Xcache extension, an alternative to APC.
91
+ *
82
92
* @see app/config/core.php for configuration settings
83
93
* @param string $name Name of the configuration
84
94
* @param array $settings Optional associative array of settings passed to the engine
0 commit comments