How to think about cache in CI vs Local Development? #10016
-
SummaryHi folks, I am in need of some guidance/resources to better understand how to think about the turbo cache across local development and CI/Preview deployments I need to understand how to think about these two environments in terms of caching related to environment variables: Basically, these two environments mean that the cache for CI will be completely different across these two environments (globalEnv settings in turbo.json). Is that correct or expected? Should my CI jobs really be different for my CI and local development? Would love to have a better picture/understanding of this Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
globalEnvis a really big hammer that will always miss cache when any variables miss in that array get missed. You're more likely to want to useenvto improve cache hit ratios.