![]() |
|
|
|
|
Change By:
|
Grégory Joseph
(28/Apr/14 12:10 PM)
|
|
Description:
|
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+
Improvements#Concept-CacheImprovements-Cachingotherobjects http://wiki.magnolia-cms.com/display/DEV/Concept+-+Cache+
arbitrary+objects
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------