Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
2.1.3
-
None
-
None
Description
I've refactored the CacheHandler to use a pluggable implementation. One being the existing filesystem based one and another ehcache-based. It optionally keeps statistics about cache hits and misses is JMX manageable. It's also completely configurable using the existing cache config node in the repository. Cache thread usage is configurable using the util.concurrent Executors (one Thread for each request as it is now or a ThreadPool, or a single Thread, ...). The ehcache implementation has configurable memory and disk cache size and lifetime parameters and can use sophisticated expirations strategies like "first in first out" or "least recently used".
The code is currently for Magnolia 2.1.3.
What is the best way to get this integrated? And what is the interest?