Skip to content

How to setup LRU Cache #239

Open
Open
@akshayxml

Description

@akshayxml

I want to setup an LRU Cache that persists data across requests. I guess set_shared_data/get_shared_data can be used for normal cache, but how to use an LRU cache?
Also, have a couple of queries regarding storing key-value pairs using set_shared_data:

  • Is there any TTL for the data?
  • How to manage size of the data since there is no function to delete the values once set?

Metadata

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