Skip to content

feat(backend): caching middleware - #575

Draft
jaskfla wants to merge 2 commits into
cache-discord-reqsfrom
cache-middleware
Draft

feat(backend): caching middleware#575
jaskfla wants to merge 2 commits into
cache-discord-reqsfrom
cache-middleware

Conversation

@jaskfla

@jaskfla jaskfla commented May 19, 2026

Copy link
Copy Markdown
Collaborator

Important

Currently missing a mechanism for cache invalidation. Also not tested.

If we accept this proposal, then the caching of Discord API requests introduced in #574 becomes redundant, because those are all GET requests anyway.

Stacked on #574, but primarily because that branch has the custom Cache class which this bit of middleware depends on.

🥞 Stack

  1. feat(backend): cache Discord API requests #574
  2. feat(backend): caching middleware #575 👈

@jaskfla
jaskfla force-pushed the cache-middleware branch from 530b043 to 2fd636b Compare May 19, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant