Review main Merged

82073[FEATURE] FE cache information request attribute

Christian Kuhn CR +2 V +2 Hard +283 −185 updated 12/10/23, 07:40

Commit message

Refactor TSFE->no_cache towards the new Request
attribute 'frontend.cache.instruction': This
attribute can be created by middlewares early
when they need to disable cache mechanics of
middlewares later in the stack.

The new construct *requires* a reason when caching
is disabled, and the disable instruction can be set
by multiple middlewares which can result in multiple
reasons being gathered. The admin panel now lists
any "cache has been disabled" reasons.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 25

Show 5 more files