Jump to ratings and reviews
Rate this book

Web Performance in Action

Rate this book
The content of the web is maturing and increasing in complexity, but internet infrastructure quality varies widely across the globe. People are browsing the web through a greater variety of devices and networks than ever before. Your website's visitors may be browsing via resource constrained connections, or limited by restricted data plans. Due to these hard realities, it's more important than ever that your website loads quickly, lest you alienate your visitors before they ever get a chance to see what your site has to offer.
Web Performance in Action is your companion guide to making websites faster. Throughout the course of this book, you'll learn techniques that speed the delivery of your site's assets to the user, increase rendering speed, decrease the overall footprint of your site, as well as learn how to build a workflow that automates common optimization techniques. You'll also get a look at new technologies such as HTTP/2 that will take your website's speed from merely adequate to seriously fast.

376 pages, Paperback

Published December 1, 2016

7 people are currently reading
107 people want to read

About the author

Jeremy Wagner

2 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
18 (34%)
4 stars
23 (44%)
3 stars
10 (19%)
2 stars
1 (1%)
1 star
0 (0%)
Displaying 1 - 7 of 7 reviews
Profile Image for Cristian.
41 reviews
January 16, 2018
Overall I found it an excellent resource on the subject, although it fell short in a couple of areas, reason why I'm giving it four stars instead of five. Among these are:

1. The treatments on compression deal only with dynamic compression of assets, no mention of statically compressing to serve them later was made.

2. Although it deals with brotli, zopfli is nowhere to be found (maybe precisely because static compression was missing).

3. When dealing with optimizing images, it barely mentions pngquant (on the last chapter, when automating optimizations), and doesn't recommend zopflipng, probably the best two tools to really squeeze pngs down; nor mozjpeg for jpgs.

4. It doesn't really emphasize the difference between lossless and lossy compression (which tools do which type of compression with what settings), his wording sometimes being misleading.

5. It doesn't deal with useful flags for the different programs to fine tune compression (e.g. svgo's --multipass, pgnquant's --speed 1).

Leaving these aside, the book has a deep enough treatment of HTTP/2, mentioning some classical recommendations to reduce HTTP/1.1 requests (such as image sprites), and why these are anti-patterns in HTTP/2, it deals with browser support for different features, how to polyfill in most scenarios, cites several useful resources to dig further; the list goes on.

All in all I highly recommend it for anyone interested on how to make websites leaner and faster. I hesitate a bit not giving it five stars, but hopefully the critiques mentioned above will be mended in future editions.
8 reviews
February 29, 2020
I really liked this book, although I had already some prior knowledge in the subject I guess I could not fully understand some concepts. And some things really surprised me. Performance of css selectors for example, for some reason I thought the more nesting you do the more work it requires from the browser to find respective nodes in DOM. And it seems that in reality nesting doesn't matter at all, what matters are css combinators like +, >, ~, they are indeed less performant. And it's just a small example from everything this book taught me.

The only drawback I can see is that when telling about automation it talks about Gulp and not Webpack. Although I guess it's due to the book being written like 4 years ago. I would love to see another edition concentrating more on JS and modern frameworks, their performance and overall issues. On the whole I'm happy with this book.
Profile Image for Leandro Melendez.
Author 1 book7 followers
November 7, 2021
Una excelente guia para entender elementos necesarios para mejorar el performance de una aplicacion o pagina web.

Lo unico que en lo personal brinque un poco fueron los ejemplos practicos. Puede ser mucho para los que solo buscamos aprender del tema, y no como hacerlo a profundidad. Pero en si es bueno que el libro contenga esos tips.

Requerido para ingenieros de performance.
600 reviews11 followers
October 21, 2023
The book now feels dated, even when many of the explained solutions still works and help you to improve the performance of your web application.
Profile Image for Majid Hajian.
36 reviews2 followers
March 8, 2017
if you are a beginner in web optimization that is good start otherwise, it's just good to read. All in all, I enjoy reading that.
Profile Image for Carter.
597 reviews
July 23, 2022
I am not a web performance guru; most of the issues seem to have to do with network vs compute, and on the balance, what tradeoffs can be "hinted" at on the web page, whose data is, situated on the server to optimize responsiveness and performance. At issue, is scaling of images primarily in this book, and the size of the .jpg/.bmp etc. The book is math light, which is unfortunate- most of the calculations are likely quite simple. Perhaps this is a bit of an overstatement, but rough napkin ballpark figures are likely easy to arrive at.
Profile Image for Tristan Gibbs.
2 reviews
August 6, 2020
Great introduction to optimizing web pages and there performance. You first learn 'the why', then 'the how'. Tools and techniques are introduced for learning how to assess and optimize your sites pages and assets (assets like: html, css, js, fonts, images, and so on). I think this is a very important topic.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.