Skip to content

Conversation

anonrig
Copy link
Contributor

@anonrig anonrig commented Oct 10, 2025

Let's cache certain internals to avoid calling them on every re-render.

Part of #1002

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: da3a4cc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@opennextjs/aws Patch
app-pages-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Oct 10, 2025

Open in StackBlitz

pnpm add https://pkg.pr.new/@opennextjs/aws@1009

commit: da3a4cc

@vicb vicb changed the title improve withCloudflare() execution cost perf(OriginResolver): cache expensive compute Oct 10, 2025
Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @anonrig 🙏

(did some minor edits)

@vicb vicb merged commit e8f5e66 into opennextjs:main Oct 10, 2025
3 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