-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Hybrid rendering #3226
Comments
Thanks @matthewp ! Just to confirm, this will release as experimental next Wednesday, right? in 2.5? We'll get started on some docs in prep for that! |
The plan is experimental in 2.5, yes. Where's the right place to document this, do you think? Currently prerendering is explain on the SSR page, but this new feature is for SSG. |
I'm going to have to think about this one. We've talked as a longer-term goal of SSR eventually not having its own page, but more SSR and SSG interwoven as appropriate throughout Docs as just two different options when discussing other topics. This is another reason why that would make sense. I'll come up with some thoughts! |
OK, so to figure out where to place this (maybe something about rendering added to our routing page?):
So, I think the answer I seem to be converging on is, it's least disruptive to what we have now and probably most convenient for you to add your docs to the SSR page. And it'll be on me to first, make a logical link from elsewhere in the docs (again, I'm thinking routing or endpoints or something... I'll discuss with @delucis, too). And then, maybe in time for 2.5 release, maybe not, I'll repurpose the SSR page into a "rendering" page where we can also have better SSG vs SSR content, all the options etc. We knew that the SSR page was outgrowing its use, and now's as good a time as any to tackle that! |
@sarah11918 Good point, |
Needs
The config reference page will include details on about how to turn on this feature.
Currently prerendering is explained on the server-side rendering page. Since this new feature is for SSG it wouldn't work well there.
How it works
See the RFC for full details. In short:
Then you can opt-out of prerendering on a per-page basis, for ex:
index.astro
The text was updated successfully, but these errors were encountered: