Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 874 Bytes

the-cost-of-js-2018-2nd-iteration.md

File metadata and controls

25 lines (17 loc) · 874 Bytes

The Cost Of JavaScript In 2018

By Addy Osmany on 01/08/2018

  • Javascript is the most expensive part of your site.

📙Action Items 📙

  • 💡 Apply code splitting and tree shaking.
  • 💡 Pulling JS into a Web Worker or caching via a Service Worker helps a lot

📖Mobile is a spectrum

"stop taking fast networks and fast devices for granted"

  • When variance can kill the user experience, developing with a slow baseline.

  • 💡 Minify your code

  • 💡 Compress

  • 💡 Ship less JS