Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-55

Caching arbitrary objects

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 5.4
    • None
    • configuration
    • Yes

      The current cache module is very biased towards caching pages (or request/responses in general).

      We've already abused it to cache uuid mappings, and it'd be beneficial to do this for other things too (personalization could use it, forum, ...)

      With our current API, one can get an arbitrary cache object by name, but that comes with FlushStrategy, etc, which are very likely irrelevant. Besides this unnecessary API leak, it is currently impossible to configurable such an arbitrary cache's underlying cache (i.e, for example, use different sizes and eviction mechanisms) - we can currently only configure the "defaultCacheFactory".

      http://wiki.magnolia-cms.com/display/DEV/Concept+-+Cache+arbitrary+objects

        Acceptance criteria

              rkovarik Roman Kovařík
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD