Optimizing Page Loads

How fast a page gets from

Requested

Usable

Time gets spent in three places:

1. Server

2. Network

3. Browser

Time gets spent in three places:

1. Server

2. Network

3. Browser

Browser Time

What do we care about?

  1. Get something on the screen

  2. Get "all" content on the screen

  3. Respond to input

Browser Time

What do we care about?

  1. Get something on the screen

  2. Get "all" content on the screen

  3. Respond to input

First Paint

First Contentful Paint

First Interactive

Two main constraints:

Network

CPU

Recap of Techniques:

  • Use a CDN (Network)
  • Bundle: fewer HTTP requests (Network)
  • Cache static assets (Network)
  • Split deferrable code (Network/CPU)
Made with Slides.com