Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-50

Provide possibility to exclude errors from being cached

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Neutral
    • None
    • None
    • configuration
    • None
    • Yes

    Description

      Right now, Magnolia will include/exclude items from being cached based on various rules.
      One can even influence cache behaviour by setting cache headers in the response before rendering starts (and response is committed).
      However there is no way to react based on some arbitrary events that happen during rendering or based on the response code. This would for example allow excluding items from cache in case someone generates number of 404 requests just by trying to fish for valid URLs on the site.

      Attached is an example of executor that would not store items in case of errors, but rather then having specialized executor, this behaviour should be configurable.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                had Jan Haderka
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD