Skip to content

[6.x] Performance: memoize outpost#14180

Merged
jasonvarga merged 1 commit intostatamic:6.xfrom
macaws:feat/memoize-outpost
Mar 9, 2026
Merged

[6.x] Performance: memoize outpost#14180
jasonvarga merged 1 commit intostatamic:6.xfrom
macaws:feat/memoize-outpost

Conversation

@macaws
Copy link
Contributor

@macaws macaws commented Mar 9, 2026

I was seeing about 15 Outpost cache reads per request in CP - this reduces that to 1 or 2.

@jasonvarga
Copy link
Member

Clearly that was intended from day one. The $this->response is never used anywhere else. Oops, good catch.

@jasonvarga jasonvarga merged commit 64f4903 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