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

[cache] smarter cache: automatically avoid caching certain kind of requests

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • 2.1 Final
    • core
    • None

    Description

      The cache can now be manually configured to exclude certain urls: anyway, some kind of requests could be automatically excluded.
      I think we should not cache request:

      • done with POST (usually a form submission)
      • with parameters (since the cache doesn't consider parameters while storing the file)
      • when the editing mode is on

      In future we could try to add a more configurable inclusion/exclusion pattern, which doesn't only consider the URI... for now, this could be a cheap improvement. This should allow to keep cache always enabled, also in an admin instance, without problems.

      Checklists

        Acceptance criteria

        Attachments

          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