Commit 2ed06f0
label as Prefetch/Prefetchable depending on prefetch config (#85076)
Tweaks the environment label logic to only use label things as
`Prefetch` if there's a runtime prefetch config. If there's none, we
label it as `Prefetchable` instead.
---------
Co-authored-by: Josh Story <[email protected]>1 parent 899b473 commit 2ed06f0
File tree
36 files changed
+816
-230
lines changed- packages/next/src/server/app-render
- test
- development/app-dir/cache-components-dev-warmup
- fixtures
- with-prefetch-config
- app
- apis/[param]
- private-cache
- revalidate
- short-lived-cache
- simple
- successive-caches
- without-prefetch-config
- app
- apis/[param]
- private-cache
- revalidate
- short-lived-cache
- simple
- successive-caches
- e2e/app-dir/server-source-maps
36 files changed
+816
-230
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
2767 | 2768 | | |
2768 | 2769 | | |
2769 | 2770 | | |
2770 | | - | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
2771 | 2781 | | |
2772 | 2782 | | |
2773 | 2783 | | |
| |||
2776 | 2786 | | |
2777 | 2787 | | |
2778 | 2788 | | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
2779 | 2792 | | |
2780 | 2793 | | |
2781 | 2794 | | |
| |||
2785 | 2798 | | |
2786 | 2799 | | |
2787 | 2800 | | |
2788 | | - | |
2789 | | - | |
| 2801 | + | |
2790 | 2802 | | |
2791 | 2803 | | |
2792 | 2804 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments