Skip to content

[6.x] Make Outpost resolve lazily - #15520

Open
daun wants to merge 1 commit into
statamic:6.xfrom
daun:perf/lazy-outpost
Open

daun wants to merge 1 commit into
statamic:6.xfrom
daun:perf/lazy-outpost

Conversation

@daun

@daun daun commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Very very minor perf improvement :) Make the Outpost class resolve lazily. This avoids autoloading Guzzle and a resulting curl_version call that account for ~6ms on all requests, including the ones where no ping will happen. This is usually only noticeable on cached Glide requests, where Guzzle would otherwise not be autoloaded.

This branch has not been deployed

No deployments
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.

1 participant