Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
I propose to:
- the voters should be moved from cache to the core
- a voter has a vote() method (replacing the current allowCache method)
- vote() returns an integer
- negative and positve votes
- the voter with the highest absolute value wins
- 0 means no vote
- the sign of the highest value defines if this is pro/contra cache/notcache bypass/accept
- vote() should not take a request object, since all information is available in the context
- the value of the default pattern based voter is the length of the pattern
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
MAGNOLIA-1477 Configurable cache exclusions
-
- Closed
-