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

Pre-rendering #12

Open
d3lm opened this issue Nov 29, 2018 · 0 comments
Open

Pre-rendering #12

d3lm opened this issue Nov 29, 2018 · 0 comments

Comments

@d3lm
Copy link
Member

d3lm commented Nov 29, 2018

As of right now, pre-rendering is no longer used. I am not sure if Universal makes much sense for the checklist, because the content currently lives on the client, meaning in the user's local storage. Prerending would improve the time to First Meaningful Paint but for this app it would also cause flickering when the client kicks in, because that's when data is pulled out of local storage and everything is replaced with the user's data. Since data lives in local storage we cannot transfer the state.

However, we could at least use Universal to pre-render an app-shell to show the above the fold content to the user for improved perceived startup performance. Angular Universal is already set up for static pre-rendering so we would need to also set up the app shell.

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