Wun Code
JavaScriptHTMLCSS

Browser Performance

Find out where your page really loses time, and how to win it back by adding elements in one go, making fewer calls and never computing the same thing twice.

Start the trackFree, no sign-up needed

What you'll learn

  • Adding elements in one goChange the page once instead of a thousand times
  • Debouncing callsA single call after the user stops
  • Memoizing function resultsNever compute the same thing twice
  • Images that don't slow the page downFour attributes that cut the cost of images
  • Throttling callsAt most one call per interval
  • Fast lookup by IDBuild the index once, then look up in one step
  • One CSS classOne change instead of a hundred and fifty
  • Skipping what nobody seesRender only what's on screen

Track contents

8 lessons, 1.5 hours in total
  1. 1Adding elements in one goJavaScriptChange the page once instead of a thousand times
  2. 2Debouncing callsJavaScriptA single call after the user stops
  3. 3Memoizing function resultsJavaScriptNever compute the same thing twice
  4. 4Images that don't slow the page downHTMLFour attributes that cut the cost of images
  5. 5Throttling callsJavaScriptAt most one call per interval
  6. 6Fast lookup by IDJavaScriptBuild the index once, then look up in one step
  7. 7One CSS classCSSOne change instead of a hundred and fifty
  8. 8Skipping what nobody seesCSSRender only what's on screen