[MAGNOLIA-1477] Configurable cache exclusions Created: 22/Apr/07  Updated: 23/Jan/13  Resolved: 23/Oct/07

Status: Closed
Project: Magnolia
Component/s: cache
Affects Version/s: None
Fix Version/s: 3.5 RC1

Type: Improvement Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MAGNOLIA-1490 core: combine bypass and cache voters Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

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.



 Comments   
Comment by Fabrizio Giustina [ 24/Apr/07 ]

work started on svn... nearly complete apart some cleanup and test

Comment by Philipp Bracher [ 27/Apr/07 ]

depends on this general voter thing

Comment by Fabrizio Giustina [ 23/Oct/07 ]

already fixed by using cache voters

Generated at Mon Feb 12 03:27:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.