Skip to content

[Question] when using cache, Is there a good way to make sure that an app will not get out of memory? <title> #149

@JBetoReyes

Description

@JBetoReyes

Is there an existing issue for this?

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions