Add render caching for the navigation render array

Created on 11 December 2024, about 1 month ago

Problem/Motivation

Found in πŸ“Œ Add performance testing Active .

The navigation currently renders layout builder sections without any render caching.

Layout builder itself does not do any render caching, because it generally expects to be rendered within an entity view, which does it's own render caching a layer above where layout builder operates..

πŸ“Œ Implement a caching strategy for the menu links Active is about adding a specialised caching layer for the menu links, but that's a level or two down from the render array that goes into #page_top and might take a while to get done.

Given navigation module is going to be enabled by default on Drupal CMS, I think we should do a minimal fix - I'm seeing dozens of database queries + other overhead from Navigation for an admin user.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

navigation.module

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024