Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1490

core: combine bypass and cache voters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1 M2
    • 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

            Activity

              People

                pbaerfuss Philipp Bärfuss
                pbaerfuss Philipp Bärfuss
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD