CHAPTER 4

image

Boosting JavaScript Performance

In this chapter, we’ll look at how to improve the performance of JavaScript applications through coding tips, techniques, best practices, and modern APIs. I take my view on performance holistically, meaning I take the lifecycle of the whole application into account. That means that instead of focusing purely on the number of lines of code executed, I appreciate that the perceived performance of an application can be improved by faster and more efficient JavaScript file loading, as well as more efficient calls, selectors, and even through CSS and HTML optimizations. In this chapter, however, we’ll focus ...

Get Pro JavaScript Development: Coding, Capabilities, and Tooling now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.