Commit 4f2b2de
authored
Only share incremental cache for edge in next start (#79386)
When in minimal mode we should not try leveraging a shared
`IncrementalCache` instance across invocations as we pass in request
headers which are request specific. The only time we should share this
instance is in `next start` mode where the sandbox needs to be able to
access the filesystem-cache.
x-ref: [slack
thread](https://vercel.slack.com/archives/C07CGAA2RS6/p1747687927600699?thread_ts=1747142004.153739&cid=C07CGAA2RS6)1 parent d16d9f4 commit 4f2b2de
File tree
3 files changed
+16
-8
lines changed- packages/next/src/server
- web
- sandbox
3 files changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1467 | 1467 | | |
1468 | 1468 | | |
1469 | 1469 | | |
| 1470 | + | |
| 1471 | + | |
1470 | 1472 | | |
1471 | 1473 | | |
1472 | 1474 | | |
| |||
2457 | 2459 | | |
2458 | 2460 | | |
2459 | 2461 | | |
2460 | | - | |
2461 | | - | |
2462 | | - | |
2463 | | - | |
2464 | | - | |
2465 | | - | |
2466 | | - | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
2467 | 2471 | | |
2468 | 2472 | | |
2469 | 2473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
190 | 193 | | |
191 | 194 | | |
192 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments