Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-55 Caching arbitrary objects
  3. MGNLCACHE-59

Update tasks for default cache configuration node

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: configuration
    • Labels:
      None
    • Magnolia Release:
      5.4

      Description

      • With MGNLCACHE-55, we're adding support for multiple cache configurations. While the code still supports EhCacheFactory.get/setDefaultCacheConfiguration, we should migrate existing configurations to the better, new, layout. In short, this just means moving /modules/cache/config/cacheFactory/defaultCacheConfiguration to /modules/cache/config/cacheFactory/caches/default
      • With MGNLCACHE-55, we're renaming CacheModule.configurations to contentCaching so we need to rename /modules/cache/config/configurations to contentCaching as well.
      • With MGNLCACHE-32, we should probably update our default cache (some properties have been renamed and added between the versions)
      • With MGNLCACHE-32, we can't use a cache called "default" (but a cache configuration named "default" is used for all unconfigured caches), so we need to rename /modules/cache/config/configurations/default to (for example) defaultPageCache, and change the value of /server/filters/cache/cacheConfigurationName accordingly. (because this name is used for both the contentCaching config name AND the actual cache name.

      This also implies changes to info.magnolia.module.cache.filter.CacheConfigurationSetupTest

      We'll also need to update a few modules (dam, commenting, ...) which add configuration to cache policies.

        Attachments

          Activity

            People

            Assignee:
            gjoseph Magnolia International
            Reporter:
            gjoseph Magnolia International
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: