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

Avoid unnecessary cache locking for uncacheable entries

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: None
    • Labels:
      None
    • Release notes required:
      Yes

      Description

      Currently, "header negotiation" lets page components set Cache* headers, which in turns sets the TTL of a cache entry to 0. The Store CacheExecutor then sees this, "replays" the cache entry immediately and discards it (rather than putting it in the cache and letting the useCache executor handle it)

      While implementing MGNLPN-112, we realized that we could instead store a "marker" entry in the cache, and on further access to such entry, the cache policy could simply instruct the cache to be bypassed.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rkovarik Roman Kovařík
                Reporter:
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    DoD