API response cache #125
maikschneider
started this conversation in
Ideas
Replies: 1 comment
-
We're very interested in this feature too! Best would be to have something like this as core-feature, thanks for the proposal. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I've been considering ways to enhance the performance of the t3api responses. Overall, I'm quite satisfied with the current performance. However, more complex endpoints with multiple relations and filtering can sometimes be slow.
To address this, I created a proof-of-concept extension called t3api_cache. The goal of this extension is to introduce a caching layer for requests. During serialization, the extension adds the corresponding cache tags to the response. These tags are then captured by a middleware that collects them, sets the cache, and cleans up the response.
I would appreciate it if you could take a look at the extension and share your feedback!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions