TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: HTML Size Analyzer

3 pointsby mostlystaticover 3 years ago

1 comment

mostlystaticover 3 years ago
Hi HN,<p>Sometimes when looking into why a website is slow I find that the size of the HTML document is half a megabyte or more.<p>There&#x27;s a few reasons for this, often JSON hydration state from a single-page app or inline images that are embedded as data URLs.<p>Other times there&#x27;s just lots of duplication, for example a page I saw specified 180 image URLs per visible images (to make it super duper double responsive). Duplicated HTML usually compresses well when sent over the network, but can cause long HTML parse times.<p>I built this tool to make it easier to identify the cause of bloated HTML code.