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

Configurable cache exclusions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.5 RC1
    • None
    • cache
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgiust Fabrizio Giustina
                fgiust Fabrizio Giustina
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD