From 962dd43756438779b6cc1821f3ee6b8147113646 Mon Sep 17 00:00:00 2001 From: Fringg Date: Wed, 25 Feb 2026 08:19:26 +0300 Subject: [PATCH] =?UTF-8?q?perf:=20improve=20LCP=20=E2=80=94=20move=20font?= =?UTF-8?q?=20loading=20to=20HTML,=20defer=20logo=20preload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move Google Fonts from CSS @import (render-blocking) to in index.html with preconnect for earlier discovery - Remove @import from globals.css — browser no longer waits for CSS parse -> @import fetch -> font CSS parse before first paint - Defer initLogoPreload() to requestIdleCallback so logo fetch doesn't compete with critical resources during page load --- index.html | 6 ++++++ src/main.tsx | 8 ++++++-- src/styles/globals.css | 2 -- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 50ae845..a81ba8b 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,12 @@ Loading... + + +