Skip to content

[6.x] Performance: Reduce duplicate cache reads on nav#14179

Merged
jasonvarga merged 1 commit intostatamic:6.xfrom
macaws:optimize/nav-builder
Mar 9, 2026
Merged

[6.x] Performance: Reduce duplicate cache reads on nav#14179
jasonvarga merged 1 commit intostatamic:6.xfrom
macaws:optimize/nav-builder

Conversation

@macaws
Copy link
Contributor

@macaws macaws commented Mar 9, 2026

While debugging performance issues, I noticed many cache reads from cp-nav-* keys.

This PR reduces the amount of cache calls per request and resulted in a couple hundred ms gains for us on our project. It also reduces re-collections.

@jasonvarga jasonvarga merged commit 9ebc676 into statamic:6.x Mar 9, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants