Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: By default, Rspack will delete the persistent cache folder if it has not been used for 7 days. Can this time be adjusted? #9745

Open
dxhsmwqcwelllee opened this issue Mar 20, 2025 · 3 comments
Assignees

Comments

@dxhsmwqcwelllee
Copy link

What problem does this feature solve?

no

What does the proposed API of configuration look like?

no

@dxhsmwqcwelllee dxhsmwqcwelllee added the pending triage The issue/PR is currently untouched. label Mar 20, 2025
@chenjiahan chenjiahan changed the title [Feature]: rspack persistent cache 默认 7 天未使用才会删除文件夹, 可以调整这个时间吗? [Feature]: By default, Rspack will delete the persistent cache folder if it has not been used for 7 days. Can this time be adjusted? Mar 20, 2025
@chenjiahan chenjiahan removed the pending triage The issue/PR is currently untouched. label Mar 20, 2025
@dxhsmwqcwelllee
Copy link
Author

  1. configure persistence cache, then run.
  2. change the configuration to memory. Then run, and will also read the content of the persistent cache at this time ?

@jerrykingxyz
Copy link
Contributor

  1. configure persistence cache, then run.
  2. change the configuration to memory. Then run, and will also read the content of the persistent cache at this time ?

No, change configuration to memory cache will not use persistent cache.

@jerrykingxyz
Copy link
Contributor

@dxhsmwqcwelllee Can you provide more context to explain why need to config this auto clean time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants