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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4
    • None
    • configuration
    • None

      • 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.

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

              Created:
              Updated:
              Resolved: