Skip to content

Introduce cache clear mechanism for AppInfo storage #3197

Open
@shuuji3

Description

@shuuji3

We need the TTL cache or other way to clear cache for AppInfo storage to solve the permanent cache issue that locks out all users in the server with certain conditions (ref. #2279 #2562 #2422).

For TTL, Elk uses unstorage as a storage interface and has several storage drivers (memory, cloudflare, vercel, fs), but only a few drivers support TTL functionality.

Maybe we need to implement our own TTL functionality with the package like @isaacs/ttlcache or need to wait for updates from upstream unstorage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: bugSomething isn't workings: on holdBlocked by something or frozen to avoid conflicts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions