RevealTheme logo

页面大小分析器

测量任意页面的HTML大小,并统计其样式表、脚本、图片和iframe的数量。

如何使用本工具

  1. 1

    Paste the full URL of a public page (starting with https://) into the input field.

  2. 2

    Click Analyze to have the server fetch that page's HTML.

  3. 3

    Read the result cards: HTML shows the document size in bytes, and the other cards show how many stylesheet links, external scripts, images, and iframes appear in the markup.

  4. 4

    Try a competitor or a previous version of your own page and compare the numbers.

什么是页面大小分析器?

页面体积直接影响加载时间。网页的平均体积约为2MB;小于1MB的页面感觉轻快,而大于3MB的页面则显得迟缓。本工具测量HTML的大小并统计外部资源的数量;它不会下载每一个资源(如需完整的瀑布流分析,请使用Lighthouse),但资源数量可以预测总体积。

常见使用场景

  • Quickly checking whether a landing page's HTML has bloated to an unusually large byte size before a launch.

  • Counting how many separate stylesheet and external script tags a page loads, to spot bundling or third-party-tag sprawl.

  • Comparing the resource counts of your page against a competitor's to see who ships a leaner front end.

  • Auditing how many img tags a content or product page renders when investigating layout shift or lazy-loading issues.

  • Spotting unexpected iframes (embeds, ad slots, trackers) injected into a page's markup.

  • Sanity-checking a CMS or build change by diffing the HTML size and tag counts before and after a deploy.

常见问题

多大的页面才算合理?
内容型网站应小于1MB,设计繁重的网站应小于2MB。移动端用户尤其会受益于较小的页面。
什么对加载时间影响最大?
总字节数、往返次数以及服务器响应时间。按每字节计算,JavaScript的解析速度最慢。

相关工具