Menu

Our title tag arrives 2,961 bytes into the document, behind 18 script tags, and four systems decided that order
📰

Our title tag arrives 2,961 bytes into the document, behind 18 script tags, and four systems decided that order

DEV Community: nextjs·Daniel Pertu·13 days ago
#k8DhOMk0
#devtonextjs#devto#dev#meta#head
Long article (1278 words) — no AI summary yet.
Reading 0:00
15s threshold

I have measured the bytes, the fonts, the icons and the DNS of PubTrivia . This week I read the one part of the HTML nobody ever looks at: the <head> , tag by tag, in the order the browser receives it.

Across the 111 URLs in the sitemap:

Measure Value

head bytes, total 588,118

head bytes, min / median / max 4,520 / 5,290 / 6,686

<meta> tags 2,700

<link> tags 1,218

<script> tags inside the head 1,994

byte offset of <title> , min / median / max 2,426 / 2,961 / 3,937

pages where <title> is the 29th tag in the head 100 of 111

Half a megabyte of head to publish a 111 page site, and on the median page a parser reads 2,961 bytes before it learns what the page is called.

The whole head of one page, in order

This is our FAQ , abbreviated only in the attribute values:

1 meta charSet="utf-8" 2 meta name="viewport" content="width=device-width, initial-scale=1" 3 link rel="preload" as="font" type="font/woff2" (x2) 5 link rel="stylesheet" data-precedence="next" (x2) 7 link rel="preload" as="script"…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.