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

Try to optimize page load time with Boot-reload #115

Open
Deraen opened this issue Feb 25, 2017 · 0 comments
Open

Try to optimize page load time with Boot-reload #115

Deraen opened this issue Feb 25, 2017 · 0 comments

Comments

@Deraen
Copy link
Contributor

Deraen commented Feb 25, 2017

Boot-reload client currently depends on e.g goog.net.jsloader and goog.net.WebSocket and in total the Closure library dependencies of the client add about 90 JS files to the compiler output. This can add several seconds to the page load time.

  • Jsloader is probably required for hot reloads (it is used by Figwheel also)
  • goog.net.WebSocket / goog.events doesn't currently provide anything important over bare WebSocket, but it has support for automatic reconnecting exponential back-off which could be useful.
  • Several other Closure modules are also used

Slow page load might partly be caused from using Chrome "Disable cache". It would be good to check that everyhing works with cache enabled.

@Deraen Deraen changed the title Try to optimize page load speed with Boot-reload Try to optimize page load time with Boot-reload Feb 25, 2017
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