Skip to content

Expiring Data #3

Open
Open
@crisward

Description

Not sure if you feel this fits within the scope of this module. But I'd quite like to wrap my database queries in a cache to prevent hitting the db too often. What would be really cool is if I could use this library but set expiry times on data ie

store.set("key", "value",1000) # 1000ms optional, otherwise forever

If this isn't inline with your aims, let me know as I may create a module to wrap yours to add this functionality to those who want it.

Thanks.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions