Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

[FEAT] Never expire cache #73

Description

@danielfigueiredo

I have a scenario where I want my cache to never expire, letting Redis deal with the less frequently used keys in case memory reaches cap. In my current case there is normally enough space to cache all possible queries for one specific service. That said, the library is very easy to use and works just fine, so thanks for putting this together.

Describe the solution you'd like
Pass a constant or some sort of value to never expire the cache. I was wondering whether there is a way to configure the cache to never expire. I couldn't find if it is possible anywhere. Is there a way to do such thing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions