Feature request
On out CI system we upload webpack's cache to a storage after each build and download them on the next build to speed up build.
After about 6 months, we find there is a 800MB cache directory with more than 100 .pack files in this cache, causing slower and slower download time.
What is the expected behavior?
We'd like to see an API to purge outdated cache content from these files, we can then run purge monthly, a slow purge process is acceptable since this runs only once per month.
What is motivation or use case for adding/changing the behavior?
Try to limit cache size in long term.
How should this be implemented in your opinion?
Maybe we should have a {purge: true} in cache configuration
Are you willing to work on this yourself?
Not able to do that
Feature request
On out CI system we upload webpack's cache to a storage after each build and download them on the next build to speed up build.
After about 6 months, we find there is a 800MB cache directory with more than 100
.packfiles in this cache, causing slower and slower download time.What is the expected behavior?
We'd like to see an API to purge outdated cache content from these files, we can then run purge monthly, a slow purge process is acceptable since this runs only once per month.
What is motivation or use case for adding/changing the behavior?
Try to limit cache size in long term.
How should this be implemented in your opinion?
Maybe we should have a
{purge: true}incacheconfigurationAre you willing to work on this yourself?
Not able to do that