Critical CSS and async CSS
Inline the small critical part, load the rest without blocking.
HTML · Critical CSS and async CSSAdvanced
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fast page</title>
<style>
body{margin:0;font:16px/1.5 system-ui,sans-serif}
.hero{min-height:60vh;display:grid;place-items:center}
</style>
<link rel="preload" href="/css/site.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="/css/site.css"></noscript>
</head>
<body><div class="hero"><h1>Hello</h1></div></body>
</html>critical csspreloadperformancelcp