โ† Web Performance (Core Web Vitals) learning path
Web Performance (Core Web Vitals) ยท Module 7 of 8

Network: fewer, earlier, closer requests

Help the browser fetch what matters first.

๐Ÿ“– Key ideas

  1. HTTP/2 and HTTP/3 send many files over one connection, so many small requests cost less than before.
  2. preconnect starts a connection early to an important third-party origin.
  3. preload tells the browser to fetch a critical file, such as the hero image or main font, early.
  4. Every third-party script (chat, ads, trackers) adds requests and work; keep only what earns its cost.
  5. Redirect chains add round trips; link to the final URL directly.
๐Ÿ’ก Real-life example: Preloading is like telling the kitchen your main course while you are still parking the car: it is ready sooner when you sit down.
preconnectHint to open a connection to an origin early
preloadHint to fetch a critical resource early
Round tripOne request travelling to the server and back
Third-party scriptCode loaded from another company's server