Preload Assets with HTTP Preload Headers or HTML Preload

It is possible using HTTP Link headers to tell the browser what assets the page will need so that it can download them right away. See https://web.dev/preload-critical-assets/ This means we can tell the browser about images, CSS, JavaScript, and fonts, so that they get loaded much earlier. This could dramatically improve site loading performance.

  • Adam Rich
  • May 13 2021
  • Reviewed
  • Trevin Chow commented
    October 08, 2022 04:26

    this is even more important now that cloudflare supports “Early Hints” which relies on this