Configurable cache exclusions
-----------------------------
Key: MAGNOLIA-1477
URL: http://jira.magnolia.info/browse/MAGNOLIA-1477
Project: Magnolia
Issue Type: Improvement
Components: cache
Reporter: Fabrizio Giustina
Assigned To: Fabrizio Giustina
Fix For: 3.1
At the moment cache can be enabled/disabled based on URIs.
There are other common requirements like:
- don't cache pages when a user is authenticated
- don't cache on the admin server (a lot better than having to change that
"enable" property by hand)
- don't cache something based on a totally custom logic.
This could be implemented by refactoring the current cache by adding a list of
configurable "cache voters", with some default implementations (cache not
authorized pages, cache only if server is public, etc) and leaving a way to
implement additional custom checks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------