Commit d301eb1
committed
Limit webpack cache version to output-affecting dimensions
Remove THREAD, WORKERS, and CACHE_COMP from Webpack filesystem cache
version to avoid unnecessary invalidations across machines/CI runners.
This keeps BUILD_CACHE_COMPRESSION effective via the compression field
without affecting cache validity.
Why: Worker count, thread toggle, and cache compression do not change
module outputs; including them in the version reduces cross-run cache
hit rates. Retain PROD in the version since prod/dev impacts outputs.1 parent b48a0af commit d301eb1
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
147 | 144 | | |
148 | 145 | | |
149 | 146 | | |
| |||
0 commit comments