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

Cache API Responses on the Client #121

Open
Nul-led opened this issue Jan 25, 2023 · 2 comments
Open

Cache API Responses on the Client #121

Nul-led opened this issue Jan 25, 2023 · 2 comments
Labels
misc Miscellaneous issues

Comments

@Nul-led
Copy link
Collaborator

Nul-led commented Jan 25, 2023

Cache them on the client, store a hash, send hash to server, compare with server hash, send back new data if necessary. Speeds up client loading times significantly.

@Nul-led Nul-led added the misc Miscellaneous issues label Jan 25, 2023
@supahero1
Copy link

this is what the http protocol is already perfectly suited to do. no need to reinvent the wheel. see ETAG.

@Nul-led
Copy link
Collaborator Author

Nul-led commented Jan 25, 2023

this is what the http protocol is already perfectly suited to do. no need to reinvent the wheel. see ETAG.

interesting, thanks for the hint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscellaneous issues
Projects
None yet
Development

No branches or pull requests

2 participants