โ Web Performance (Core Web Vitals) learning pathWeb Performance (Core Web Vitals) ยท Module 7 of 8
Network: fewer, earlier, closer requests
Help the browser fetch what matters first.
๐ Key ideas
- HTTP/2 and HTTP/3 send many files over one connection, so many small requests cost less than before.
- preconnect starts a connection early to an important third-party origin.
- preload tells the browser to fetch a critical file, such as the hero image or main font, early.
- Every third-party script (chat, ads, trackers) adds requests and work; keep only what earns its cost.
- 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