Roughly measure the total size of a page with all assets
how heavy is my web page | measure page weight command line | total size of all files on a page | find largest resources of a page | wget | page-weight | assets | load-timewget -q -p -H -nd -e robots=off -P /tmp/page-weight https://example.com/; du -sh /tmp/page-weight; ls -lhS /tmp/page-weight | head -15Fetches the page along with all directly embedded resources (-p), including those from other hosts such as CDNs (-H), and stores everything flat in one directory. Then the total size and the 15 largest files are shown. It measures the uncompressed size, so the result is more of an upper bound.
Note: Files loaded via JavaScript or lazy loading are missing. Delete the target directory before running it again, otherwise the files add up.
Also searched as
- how heavy is my web page
- measure page weight command line
- total size of all files on a page
- find largest resources of a page