Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
4.2.0
-
None
Description
When refactoring eZCache slightly to allow extensions to extend it, I found the following code in eZCache:
switch ( $cacheItem['id'] ) { case 'template-block': case 'content': case 'urlalias': // wildcard cache case 'rss_cache': case 'user_info_cache': $isContentRelated = true; break; default: $isContentRelated = false; }
I only changed this to be defined in the cache items ('is-clustered' => true,) instead of being hardcoded so it can be set by items from extensions as well.
But I suspect some more of the items in eZCache should be defined as clustered as well, hence this task.
Attachments
Issue Links
- relates to
-
EZP-16321 ezcache.php now outputs nasty warnings ( Cannot use a scalar value as an array in .... )
- Closed