make-fetch-happen icon indicating copy to clipboard operation
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>

Open JBetoReyes opened this issue 3 years ago • 0 comments

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

  1. enable cache for every request
  2. make some requests

Environment

NA

JBetoReyes avatar May 12 '22 18:05 JBetoReyes