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

The responsive styling/css is loaded noticeably late (after around 2 sec) after the plain html #3

Closed
nash90 opened this issue Sep 16, 2016 · 1 comment

Comments

@nash90
Copy link

nash90 commented Sep 16, 2016

When I run nicistore locally, the responsive styling/css is loaded noticeably late (after around 2 sec) after the plain html because of which the UX is effected.
However, nicistore.com does not have this lag.

I have no idea what is causing this locally. I would really appreciate if you could give me any idea regarding it.

I checked the network graph in the client side and it has many gaps between requests as you can see in the attached pic which increases the page load time overall too.

screen shot 2016-09-16 at 11 06 38 am

@andrecrt
Copy link
Member

@nash90 that's because, in development, the app is fetching the assets (js and css) in runtime from the webpack server. In production (like nicistore.com) you serve the built bundles (check the build script)

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

2 participants