-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PoC with response and API caching #372
base: development
Are you sure you want to change the base?
Conversation
42111c9
to
00d8cbc
Compare
175d723
to
3e922b4
Compare
Perhaps it is already in your TODOs, a note is that I encountered an error of flask_session version is outdated in the requirement.txt. Thus, importing flask_session.filesystem reported an error. Upgrading flask_session to 0.8.0 resolved the issue. |
Yeah, I already upgraded the versions in development. Will merge with this branch soon. |
609182d
to
f272bf3
Compare
badef7b
to
9f1d927
Compare
80fb49a
to
97919a2
Compare
Co-authored-by: claravox <[email protected]>
Co-authored-by: claravox <[email protected]>
Co-authored-by: claravox <[email protected]>
Co-authored-by: claravox <[email protected]>
Maybe a bit out of the scope of this PR, but should we consider switching to a redis alternative? |
) | ||
} | ||
if (result.status === 'ok') { | ||
// Keep track of which rows have been |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Keep track of which rows have been | |
// Keep track of which rows have been updated |
This PR adds caching for Flask responses to avoid re-rendering templates, improving performance. It introduces API caching for a limited set of endpoints with defined timeouts.
Additionally, some API calls have been moved to the client side to leverage the template cache, further enhancing efficiency. Certain API calls will trigger cache clearing to ensure users receive up-to-date information.