Menu

The Build-Marker Layer of app.onepassapps.com: 56 Pages, Seven or Four Comments, and 23 With One Marker Pair
📰

The Build-Marker Layer of app.onepassapps.com: 56 Pages, Seven or Four Comments, and 23 With One Marker Pair

DEV Community: html·OnePassApps·about 16 hours ago
#140SnfhO
#devto2#devto#dev#pages#build
Reading 0:00
15s threshold

The Build-Marker Layer of app.onepassapps.com: 56 Pages, Seven or Four Comments, and 23 With One Marker Pair

I work on OnePassApps. We build app.onepassapps.com, and this post is a measurement of the bytes our own build writes into every page it serves: the HTML comments that mark where the build injects crawler and social metadata.

I fetched all 56 URLs in our sitemap over plain HTTPS today, with a browser User-Agent, no session and no JavaScript. Every one answered HTTP 200. Then I counted the HTML comments in each document.

The marker pairs

Every one of the 56 pages carries the same pair of build-time marker comments, spelled exactly like this:

TOOLPASS_SEO_START

TOOLPASS_SEO_END

They sit around the block of route-aware metadata the build writes into the head of the document, and the comment directly above them says so in plain words: Route-aware crawler and social metadata is injected here at build time.

On 33 of the 56 pages there is a second pair, TOOLPASS_SEO_BODY_START and…

Continue reading — create a free account

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