Skip to content

add a changelog entry about Open Next perf improvements #23277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: production
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions src/content/changelog/workers/2025-06-05-open-next-size.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: Performance and size optimization for the Cloudflare adapter for Open Next.
description: Update to the latest version of `@opennextjs/cloudflare` to automatically benefit from these improvements.
products:
- workers
date: 2025-06-05T19:00:00Z

---

We released the Cloudflare adapter for Open Next v1.0.0 in May 2025.

We had plans [to improve performance and size](https://blog.cloudflare.com/deploying-nextjs-apps-to-cloudflare-workers-with-the-opennext-adapter/#1-0-and-the-road-ahead) after v1 was released.

`@opennextjs/cloudflare` v1.2 released on June 5, 2025 contains a few improvements:

- `babel` was pulled into the app code, we [remove it](https://github.com/opennextjs/opennextjs-cloudflare/pull/710) to save ~4MB on a typical uncompressed app size
- we were also able [to drop a dependency on `@ampproject/toolbox-optimizer`](https://github.com/opennextjs/opennextjs-cloudflare/pull/700) to save ~3MB on a typical uncompressed app size
- we [stopped preloading all the app routes](https://github.com/opennextjs/opennextjs-cloudflare/pull/696) to save >100ms on the first request.

Users only need to update to the latest version of `@opennextjs/cloudflare` to automatically benefit from these improvements.

Note that we published [CVE-2005-6087](https://github.com/opennextjs/opennextjs-cloudflare/security/advisories/GHSA-rvpw-p7vw-wj3m) for a SSRF vulnerability in the `@opennextjs/cloudflare` package.
The vulnerability has been fixed from `@opennextjs/cloudflare` v1.3.0 onwards. Please update to any version after this one. v1.3.1 is the latest at the time of writing.