Skip to content
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

Feature/yash/caching #173

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Feature/yash/caching #173

wants to merge 2 commits into from

Conversation

YashRavipati1
Copy link
Contributor

@YashRavipati1 YashRavipati1 commented Nov 17, 2023

Tracking Info

Resolves #168

Changes

What changes did you make?

Added caching for user info on the frontend so that user info is still available even when network is down. Also uses cached info instead of sending a new request each time even when the network is up.
(TODO - Sessions caching)

Testing

How did you confirm your changes worked?

Tested pages with server not running.

Confirmation of Change

Upload a screenshot, if possible. Otherwise, please provide instructions on how to see the change.

Login and load the profile page at least once with the server running. Switch to another page. Then stop the server and switch to the profile page again - this switch should work fine with all the information showing as normal.

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.

Add caching on Frontend
1 participant