Make getLayout cacheable

Created on 5 November 2023, about 1 year ago

Problem/Motivation

At present LayoutController::getLayout returns JsonResponse and not CacheableJsonResponse.
We're already collecting cache metadata. We should use it and make the page cacheable.

Steps to reproduce

Proposed resolution

Work out how to get cacheability metadata from the tempstore/section storage.
Add that to the existing cacheable metadata from normalizer.
Switch from JsonResponse to CacheableJsonResponse

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024