Web applications serve content over a network connection that can vary considerably in connection speed. Developers who optimize the size and number of resources needed to serve their application, will see performance benefits for all their users, especially those having poor connections.
Compounding this, most users expect to see content from a website load in 2 seconds or less. Most users aren't aware of their network connection speed, so it's up to the developer to make an application load as fast as possible to keep up with user expectations.
https://blog.kissmetrics.com/loading-time/
Optimizations for modern web application loading performance can generally be broken down into three different categories: reducing the number of asset requests, the overall size of assets, and the latency for retrieval for assets. In this chapter, we will explore each of these different ways to increase the performance of our web application through alteration of the configuration of our various build systems.
We will also explore how to leverage build systems to optimize our development performance. Build systems can help augment our ability to write better code, more quickly and consistently. Using consistent JavaScript cross compilation with tools, such as Babel.js and TypeScript, we can more easily keep both our back-end and front-end code bases stylistically consistent.