Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

Critical CSS inline vs single external stylesheet

Critical CSS inline vs single external stylesheet
Inlining above-fold CSS removes a render-blocking round trip. It has a cost.

External CSS: one render-blocking request, ~150-300ms before first paint on a cold cache.

Critical CSS inlined (~10-14KB) + async rest: first paint without the round trip, FCP -200ms.

Cost: inlined bytes aren't cached across pages and bloat the HTML; over ~15KB the HTML itself slows TTFB.
Keep critical under ~14KB (one TCP window), load the rest async.
Takeaway: inline under 14KB cuts ~200ms FCP; over it, you lose the gain.
Этот пост опубликован в Telegram-канале Millisecond Mafia. Подписаться можно по ссылке: @MillisecondMafia.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.