GitHub

Browser Rendering

How cloud browser rendering works under the hood

A plain HTTP fetch is fast, free, and accurate for server-rendered sites - but sites that build their content with JavaScript (SPAs, client-side frameworks) can look nearly empty to it, which skews every content rule.

Cloud browser rendering fixes that: each page is loaded in a real headless browser in the cloud, and the fully rendered DOM is returned to your local crawler. Everything downstream - parsing, rules, reports - works exactly as it does with plain HTTP, just on the post-JavaScript HTML.

When it runs

Rendering follows your login state by default:

  • Logged in - audits render every page in the cloud automatically. The first time this would spend credits, the CLI asks once (Render pages in the cloud? [Y/n]) and remembers your choice in squirrel self settings - it never asks again.
  • Logged out, --offline, or you declined the prompt - plain HTTP, no credits.

Override the default any time:

WantHow
Plain HTTP for one runsquirrel audit <url> --http
Render for one runsquirrel audit <url> --render
Always plain HTTP for a projectrendering = "http" in [cloud]
Always render for a projectrendering = "browser" in [cloud]

Flags win over config, and config wins over the auto default. Non-interactive runs (CI, agents, pipes) never prompt - they render only if you’ve already consented or set rendering = "browser", otherwise they use plain HTTP.

Cost

2 credits per page rendered. A 100-page crawl with rendering costs 200 credits, so mind your per-audit cap - the default cap of 1000 covers rendering for about 500 pages. The crawl progress line shows the running spend:

Crawling (cloud-rendered) 34/100 · ~68 credits

Fallback behavior

Rendering is best-effort and degrades gracefully:

  • Single page fails or times out - that page falls back to plain HTTP; the crawl continues rendering the rest.
  • Out of credits, auth error, or service outage - the crawler switches permanently to plain HTTP for the remainder of the crawl, prints a one-line warning, and notes the fallback in the report metadata.

A render failure never fails the audit.

When to use it

SiteRecommendation
Server-rendered (most CMS, SSR frameworks, static sites)Plain HTTP (default) - rendering adds cost, not accuracy
Client-side SPA (React/Vue/Angular without SSR)Browser rendering
Mixed - mostly SSR with a few JS-dependent pagesTry plain HTTP first; if content rules report thin/missing content on pages you know have content, switch

A quick tell: run squirrel audit normally, and if word counts or headings look implausibly low on pages that render fine in your browser, the site needs rendering.

Type to search…

↑↓ navigate open esc close