Skip to content
StaticScope
Overview
Get StaticScope

See every asset before it ships

A static build turns your site into a folder of files, which is an inventory of what a visitor downloads.

Build & performance Updated 21 November 2026 8 min read

A live WordPress site is assembled while you watch. PHP runs, plugins add markup, the database answers queries and the browser gets whatever came out. You can view source on one page, but you can’t see the whole site’s bill.

A static build changes that. StaticScope copies the site into a folder: every page, stylesheet, script, font, image and linked document, with sizes and the references between them. That folder is an X-ray of what visitors download. It’s the most useful thing a static build gives you, and it has nothing to do with hosting.

What the build writes

The crawler saves pages as WordPress served them in wp-content/uploads/staticscope-crawled-site/. Preparation rewrites links and copies the result to wp-content/uploads/staticscope-processed-site/. The preview is a third copy with links pointed at itself. Only the processed folder is published.

Paths match URLs. A page at /about/ is about/index.html. An image at /wp-content/uploads/2026/03/hero.jpg keeps that path. Once you know the mapping, a URL in the report becomes a file on disk.

By default the folder holds only what the crawled pages use. That’s more than most people expect: every candidate in a srcset, fonts and background images named in stylesheets, files loaded by scripts, PDFs and other documents behind links, sitemaps, robots.txt, the favicon and a web manifest. It leaves out wp-admin, wp-json and feeds. Your ignore lists trim it further.

Two settings change the shape of the inventory. Every upload adds the whole media library. Every theme and plugin file adds assets no page uses. Turn either on and the folder becomes a list of what exists, not what visitors need. Useful for a one-off audit; leave both off for normal builds.

Don’t open the HTML files from disk. Their links point at the published address, so you’ll see broken CSS and images that aren’t broken at all. Use the preview for clicking, the folder for measuring.

Why View Source isn’t the same thing

View source answers “what did this one page send?”. The build answers “what does this site ship, and who uses it?”. Those are different questions, and the second one is where the waste hides.

  • View source is one page. Repeating it for 300 pages doesn’t give you a total.
  • View source shows markup, not the dependency chain. It names a stylesheet. It doesn’t tell you that the stylesheet loads three font files, two of which no text uses.
  • View source has no sizes. The browser’s network panel has sizes for one visit, under one viewport, with whatever was in cache. The folder has the file.
  • View source can’t find orphans. A file no page refers to never appears in a page you inspect. The build can point at it because it reads every page and every reference.
  • View source has no “used on”. The build counts how many pages reach each file, directly or through a stylesheet or script.

DevTools is better than View Source, but still one visit: one viewport, one cache state, one set of lazy-loaded images. The build is the whole site.

Two views of the same inventory

The build report

What’s in your static site on the Overview gives you the summary: file count, total size and the checks for missing files, links back to WordPress, unused files and search engines. It breaks the files down by type with a share of total size. When the site has been checked, it also lists the five heaviest pages and five largest files.

Those five-item lists catch the obvious 4 MB hero. They won’t find the stylesheet loaded on every page. For that you need the full list. Build reports and preview covers the checks in detail.

The file list

Preview files is the full index. Filter by pages, stylesheets, scripts, images, fonts, video and audio, other files or not used. Search a path. Sort by size, usage or page size. Open any row for the detail.

Pages get their own columns: HTML size, files loaded and page size. Everything else gets type, size and used on. The difference matters. A page is heavy because of what it loads; an asset is expensive because of how many pages load it.

The preview

The preview serves the same files with a badge that reports requests to WordPress or failures. The file list says what should load; the badge says what did.

Reading a page

Open a page and you get three facts: page size, HTML size and files loaded. Below them, a bar splits the page size by type. Then a table of every file the page loads, largest first. Collapsed sections hold alternative image sizes, video and audio, files mentioned in code and linked files.

If a page detail reads about 1.2 MB across 43 files, with images at 760 KB, scripts at 240 KB, fonts at 90 KB and HTML at 85 KB, you know where to look before opening a single file. An image-led marketing page can justify that. A 900-word article cannot.

Page size is an estimate, and it has rules. It counts the HTML plus everything the page loads: stylesheets, scripts, fonts, images, the lot. It doesn’t count alternative image sizes because the browser picks one, video because it streams, or linked documents because you have to click them. It does count every font and background image named in a stylesheet, even ones this page never displays.

That makes it good for finding heavy templates and bad for arguing about a single page’s exact transfer size. Use it as a weight, not a stopwatch.

Reading a file

A file’s detail gives you its type, size and how many pages use it, plus a table of those pages and their page sizes. If only pages refer to it, the table also says how each one uses it: loaded, video or audio, alternative image size, linked or mentioned in code.

“All 312 pages” is the signal. That file is part of every page’s budget whether it earns it or not. “1 page” usually means leave it alone. A stylesheet or script used on more than one page also gets a hint to load it only where it’s needed.

Files nothing refers to get a warning and a place under Not used. Images get a preview, so you can see what the 2.4 MB file is before deleting it.

Questions the inventory answers

  • What loads on every page? Sort assets by used on. Anything at or near the page count is a site-wide tax.
  • What’s only needed on one page? The same list, read the other way. Those are the easiest enqueues to make conditional.
  • What’s the biggest file, and who loads it? Largest files, then the file detail. A big file used once is a content problem; used everywhere, it’s a template problem.
  • How many font files ship? Filter fonts. Compare the count with the number of weights your CSS uses.
  • Is a library in there twice? Two copies of jQuery, two sliders, two lightboxes. The file list makes duplicate sizes and names obvious.
  • What’s missing? The report’s missing check lists paths that pages refer to but the folder doesn’t have.
  • What still points at WordPress? The leak check. A static host won’t serve those URLs.

What it can’t tell you

The build measures files, not experience. It has no timings, no render waterfall and no Core Web Vitals. It doesn’t know which image is the LCP candidate. It also doesn’t measure compression: sizes are on-disk bytes, before gzip, Brotli or a CDN gets involved.

Third parties are invisible. A Google Fonts link, an analytics script or an embedded video loads from another origin, so it isn’t copied into the folder and isn’t counted in page size. Your real page can be much heavier than the number here.

“Used on” means referenced, not seen. A font declared in @font-face counts as loaded even if no text on the page uses that family. A stylesheet for a component you removed still counts. The inventory tracks the dependency graph, not the rendered result.

A file missing from the inventory isn’t proof. JavaScript can build a path at runtime, and an embed can call an API no page names. Build, then click through the preview and watch the badge. The build finds the static references; the browser finds the rest.

Working from the folder

The admin screens are quicker for reading. The folder is quicker for questions they don’t answer, like “which pages mention this file?”. Paths map to URLs, so a search through the HTML gives you the source.

cd wp-content/uploads/staticscope-processed-site

# The twenty largest stylesheets
find . -type f -name '*.css' -exec du -k {} + | sort -n | tail -20

# Anything over 500 KB
find . -type f -size +500k -print

# Which pages mention a file
grep -rl 'hero.jpg' . --include='*.html' | head

WP-CLI gives you the same index without the browser. These are the three commands worth remembering:

wp staticscope files --type=html --orderby=page_size --limit=10
wp staticscope files --type=js --limit=100 --format=csv
wp staticscope check

The first lists the heaviest pages, the second lists scripts and how many pages use each. The third refreshes the checks and index.

A five-minute pass

  1. Build the site and open What’s in your static site. Note the total and the size by type.
  2. Open the heaviest page. Read the type breakdown, then the five largest files it loads.
  3. Open the largest asset in the site. Check how many pages use it.
  4. Filter Not used and look at the total size. Ignore anything a script might load at runtime.
  5. Open the preview, click the page you care about and read the badge. Anything missing or loaded from WordPress is a real problem.
  6. Write down one change. Make it in WordPress, rebuild and compare the same page, not the total.

Next