From f06a8adad888d0864cd7cd927ccf4bbef5bc33b0 Mon Sep 17 00:00:00 2001 From: Sarthak Agrawal Date: Sun, 6 Sep 2026 16:46:03 +0530 Subject: [PATCH] perf(web): inline CSS and lazy-load third-party scripts for mobile LCP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mobile LCP p75 was 3.02s after the TTFB fixes in #19/#22/#23 — over the 2.5s CWV gate. TTFB is no longer the bottleneck (186ms); the remaining cost is on the render path: 1. Render-blocking external CSS: a 37KB stylesheet served as an external file (Astro's `auto` threshold is 4KB). On slow 4G that is a full round trip before first paint, and the LCP element is text that cannot render until CSS arrives. Inlining it into a `