Skip to content

Commit fedf6d8

Browse files
vicblrapoport-cf
authored andcommitted
add a changelog entry about Open Next perf improvements (#23277)
Co-authored-by: lrapoport-cf <[email protected]>
1 parent b66552e commit fedf6d8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Performance and size optimization for the Cloudflare adapter for Open Next
3+
description: Update to the latest version of `@opennextjs/cloudflare` to automatically benefit from these improvements.
4+
products:
5+
- workers
6+
date: 2025-06-05T19:00:00Z
7+
---
8+
9+
With the release of the Cloudflare adapter for Open Next v1.0.0 in May 2025, we already had followups 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).
10+
11+
`@opennextjs/cloudflare` v1.2 released on June 5, 2025 delivers on these enhancements. By removing `babel` from the app code and dropping a dependency on `@ampproject/toolbox-optimizer`, we were able to reduce generated bundle sizes. Additionally, by stopping preloading of all app routes, we were able to improve the cold start time.
12+
13+
This means that users will now see a decrease from 14 to 8MiB (2.3 to 1.6MiB gzipped) in generated bundle size for a Next app created via create-next-app, and typically 100ms faster startup times for their medium-sized apps.
14+
15+
Users only need to update to the latest version of `@opennextjs/cloudflare` to automatically benefit from these improvements.
16+
17+
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.
18+
The vulnerability has been fixed from `@opennextjs/cloudflare` v1.3.0 onwards. Please update to any version after this one. v1.6.3 is the latest at the time of writing.

0 commit comments

Comments
 (0)