Rank, 14 days: 1 on the Next.js sheet
5 people reported
All time, since Oct 13, including 4 thumbs-up on GitHub.
JS chunks downloaded twice
“A CORS request and a no-CORS request for the same URL have different HTTP cache keys, so the second tag downloads the chunk again.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/next-js/issues/12191/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
JS chunks download twice on client navigation with crossOrigin. Turbopack's loader adds a crossorigin script tag, then the segment's hoistable <script async> drops crossOrigin, leaving two tags.
Is this your bug?
File my report- Where
- App Router navigation
- Versions
- 16.5.0-canary.8 to 16.5.0-canary.21
- Platforms
- Linux
- How bad
- Breaks a normal workflow.
Not quite your bug?
- Boundary scripts missing CSP nonce2 people
- Dynamic preloads not reused1 person
- Nested next/dynamic CSS missing1 person
Original reports2, newest first
- Turbopack: with
crossOriginset, a client navigation downloads the page's JS chunk twice (the segment's hoistable<script>dropscrossOrigin)On GitHub#100533 - With
crossOrigin: "anonymous", every JS chunk a client-side navigation loads is downloaded twice (two<script>tags per chunk: the Turbopack loader's and React's hoistable)On GitHub#100132