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

oldCache加个设置项可以关闭 #44

Closed
Xfinland opened this issue Aug 1, 2023 · 1 comment
Closed

oldCache加个设置项可以关闭 #44

Xfinland opened this issue Aug 1, 2023 · 1 comment

Comments

@Xfinland
Copy link

Xfinland commented Aug 1, 2023

引用这个库目的:优化存储性能,自动释放长期不用的数据。(我认为大多数用户的想法)
看了下源码,咋还有个oldCache,偷偷把所有的数据保留了一份。
建议:
方案一: 加个option,可以设置不需要保留oldCache
方案二:直接删掉oldCache

@sindresorhus
Copy link
Owner

English-only

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2023
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

2 participants