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

Caching plugins for state modules #72

Open
aleclarson opened this issue Jul 1, 2022 · 0 comments
Open

Caching plugins for state modules #72

aleclarson opened this issue Jul 1, 2022 · 0 comments

Comments

@aleclarson
Copy link
Contributor

When a page is rendered, it produces its page-specific state module and any non-inlined state modules. These state modules need to be cached somewhere, so the server can respond to the inevitable requests for them. Currently, they are cached in-memory, but this only works for long-running servers. For serverless functions, a Redis instance or S3 could be used, but there's no easy way for plugins to control this.

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

No branches or pull requests

1 participant