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

Experiment: Server side rendering #24

Open
mshenfield opened this issue Apr 17, 2017 · 0 comments
Open

Experiment: Server side rendering #24

mshenfield opened this issue Apr 17, 2017 · 0 comments

Comments

@mshenfield
Copy link
Owner

Most of the page load time to DOMContentLoaded is taken up rendering the React components. There might be a good tradeoff to render the React components server side.

screen shot 2017-04-17 at 9 16 46 am

Walmart Labs has thought through the tradeoffs and how to make SSR work well.

Since we already have node.js installed, and we are only using the Flask app as an API because it wraps sklearn, it might be better to build the react server side rendering into a simple node-based server we expose directly (e.g this StackOverflow answer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant