Introduction

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.

According to surveys done by Akamai and Gomez.com, nearly half of web users expect a site to load in 2 seconds or less, and they tend to abandon a site that isn’t loaded within 3 seconds. 79% of web shoppers who have trouble with web site performance say they won’t return to the site to buy again and around 44% of them would tell a friend if they had a poor experience while shopping online. You can visit the following link for more information:
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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.42.158