I want to learn about cache to speed up my builds #18250
-
I'm new to webpack and I want to know when the cache will expire after caching is enabled. I know it has a fixed expiration time, and some dependency files can be configured to control whether it expires. But if I modify my business code, will the cache automatically expire? If so, will the entire cache expire or part of the cache expire? I'm worried that the product is old due to caching,Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
alexander-akait
Mar 27, 2024
Replies: 1 comment 2 replies
-
No, webpack invalidate cache only for changed files/modules (and files/modules where this module was used) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dddssw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, webpack invalidate cache only for changed files/modules (and files/modules where this module was used)