You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some contexts (think of something like docs.rs) it would be good if we could pre-render every page for a project and save them on the server, then serve them up as static HTML rather than render them on-demand with the current combination of server and client -side rendering.
A good first step would be to just pre-render everything into the file-cache. We'd then want to persist that info to disk so it doesn't need to be done every time the server is started. Ideally, it could be server by the web server, rather than by the cargo-src server and we'd ensure that all users shared a set of pages. We would also want to do any client-side rendering we currently do (e.g., adding ref menus) on the server side too - I think React may already have support for doing that, but I'm not sure how everything would fit together.
The text was updated successfully, but these errors were encountered:
In some contexts (think of something like docs.rs) it would be good if we could pre-render every page for a project and save them on the server, then serve them up as static HTML rather than render them on-demand with the current combination of server and client -side rendering.
A good first step would be to just pre-render everything into the file-cache. We'd then want to persist that info to disk so it doesn't need to be done every time the server is started. Ideally, it could be server by the web server, rather than by the cargo-src server and we'd ensure that all users shared a set of pages. We would also want to do any client-side rendering we currently do (e.g., adding ref menus) on the server side too - I think React may already have support for doing that, but I'm not sure how everything would fit together.
The text was updated successfully, but these errors were encountered: