Index: trunk/phase3/includes/objectcache/ObjectCache.php |
— | — | @@ -71,6 +71,13 @@ |
72 | 72 | |
73 | 73 | /** |
74 | 74 | * Factory function referenced from DefaultSettings.php for CACHE_ANYTHING |
| 75 | + * |
| 76 | + * CACHE_ANYTHING means that stuff has to be cached, not caching is not an option. |
| 77 | + * If a caching method is configured for any of the main caches ($wgMainCacheType, |
| 78 | + * $wgMessageCacheType, $wgParserCacheType), then CACHE_ANYTHING will effectively |
| 79 | + * be an alias to the configured cache choise for that. |
| 80 | + * If no cache choise is configured (by default $wgMainCacheType is CACHE_NONE), |
| 81 | + * then CACHE_ANYTHING will forward to CACHE_DB. |
75 | 82 | */ |
76 | 83 | static function newAnything( $params ) { |
77 | 84 | global $wgMainCacheType, $wgMessageCacheType, $wgParserCacheType; |