Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16114

Check that eZCache items that are clustered are defined as such

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.3.0beta2
    • 4.2.0
    • Caching
    • 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

        Activity

          People

            Unassigned Unassigned
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: