angular-fullstack/generator-angular-fullstack

Question about first page load speed.

Open

#2,661 建立於 2017年10月28日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)JavaScript (6,134 star) (1,268 fork)batch import
good first issueinvestigateneed details

描述

  • I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack 4.2.2
Node 8.1.2
npm 5.4.2
Operating System Ubuntu 17.10
Item Answer
Transpiler Babel
Markup HTML
CSS SCSS
Router ui-router
Client Tests Mocha
DB MongoDB
Auth Y

How can i improve first page load speed? The biggest file is the app.js at about 2.5mb. I have this gziped down to ~500k which is still pretty big. On a normal 3G connection it still taken 4-5 seconds to load the first time. Is this to be expected? Or am i missing something? Are there some tools or configurations that will work well with angular-fullstack that can help speed this up? Thanks!

貢獻者指南