The Cost Of JavaScript In 2018

Addy Osmani:

Building interactive sites can involve sending JavaScript to your users. Often, too much of it. Have you been on a mobile page that looked like it had loaded only to tap on a link or tried to scroll and nothing happens?

Byte-for-byte, JavaScript is still the most expensive resource we send to mobile phones, because it can delay interactivity in large ways.

Today we’ll cover some strategies you can use to deliver JavaScript efficiently while still giving users a valuable experience.

Be sure to note the PRPL pattern, and the usage of a “Performance Budget”.

A video of the talk upon which this post was inspired, is also available (do note that some parts in the video are not as extensive as the write-up):

The Cost Of JavaScript In 2018 →

Elsewhere ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.