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

Add request caching options #72

Open
petermasking opened this issue Dec 5, 2022 · 0 comments
Open

Add request caching options #72

petermasking opened this issue Dec 5, 2022 · 0 comments
Labels
feature New feature or request

Comments

@petermasking
Copy link
Member

For optimizing full-stack apps we need to add cashing options. We can do this on both ends:

  1. Browser caching by setting 'cache-control' header;
  2. Server caching by storing RPC responses in the gateway (and/or node).

The caching must be configured per procedure:

  • Type (browser of server)
  • Maximum age (before refresh)

By default the caching is disabled.

@petermasking petermasking added the feature New feature or request label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants