Skip to content

add a 30s cache on redis #9

Description

@jimfangx

inspiration from: https://github.com/benborgers/opensheet

https://github.com/benborgers/opensheet/blob/main/index.js#L95-L97

30s might cut repeated latency in half for requests that are not update sensitive (ex: whats on the front page)

redis prob better than mongo for this


cache on front page stuff: 5 min?
cache on user data /me - 1 min? 2 min?
cache on time sensitive user data - 30s?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions