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

Incremental rendering #23

Open
cyco130 opened this issue Dec 17, 2021 · 1 comment
Open

Incremental rendering #23

cyco130 opened this issue Dec 17, 2021 · 1 comment
Labels
✨ enhancement New feature or request

Comments

@cyco130
Copy link
Member

cyco130 commented Dec 17, 2021

The page is server-rendered on the first request and cached. Subsequent requests work like static rendering until an adjustable max age. Stale-while-revalidate strategy can be used but it may be opted out from.

When deploying on Cloudflare Workers, we can use the cache instead of the file system.

We can even consider pluggable caches (file system, redis, even memory for small apps).

This was referenced Dec 17, 2021
@cyco130
Copy link
Member Author

cyco130 commented Feb 18, 2022

Next.js added on-demand revalidation for incrementally rendered pages which makes this feature much more usable. Almost essential to have.

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

No branches or pull requests

1 participant