make-fetch-happen
make-fetch-happen copied to clipboard
[Question] when using cache, Is there a good way to make sure that an app will not get out of memory? <title>
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
- When cache is enable, the module uses files to store the cache
- I don't see a way to control the amount of files in the disk
I saw other libraries that
Expected Behavior
It will really good to have a way to limit the amount of memory used by the cache.
Steps To Reproduce
- enable cache for every request
- make some requests
Environment
NA