Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add a 30s cache on redis #9

Open
Open

Description

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

        AltStyle によって変換されたページ (->オリジナル) /