You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
squirrel audit --offline: hold the crawl's own redirects and off-site sitemaps to the audited site #819
squirrel audit --offline no longer status-checks third-party scripts, stylesheets, fonts or sitemap URLs on another host (#807, PR #816). The crawl's own requests can still reach another host when the audited site sends them there:
a page redirect the crawler follows to another host;
a sitemap file that robots.txt (or a sitemap index) lists on another host, which sitemap discovery fetches (without the audit's custom headers);
a first-party asset (stylesheet, script, image, font, PDF) whose URL redirects to another host, followed by the asset checks;
the opt-in cloaking probe, if it follows a redirect off the site;
Separately, --offline uses two ideas of "own site": sitemap URLs count the www/apex twin and project.domains as the site's own, asset references do not.
The docs and help text now say this plainly instead of promising zero off-site requests. This issue is to decide whether --offline should hold these hops to the audited site and its subdomains as well, and to do it if so.
Acceptance Criteria
Under --offline, a page that redirects to another host is recorded as a redirect off the site and the other host receives no request.
Under --offline, a robots.txt Sitemap: line or sitemap index entry on another host is not fetched, and the report says the sitemap was skipped rather than missing.
Under --offline, a first-party asset that redirects to another host is not followed there, and reliability/broken-resources reports it as not measured rather than passing or failing it.
Under --offline, the cloaking probe (when enabled) sends nothing to another host.
Under --offline, the soft-404 confirmation re-fetch sends nothing to another host.
Under --offline, an asset on the www/apex twin or a project.domains host is checked like the site's own, matching how sitemap URLs are treated.
A test proves each case with a local server and a second host, asserting by Host header that the second host gets no request.
docs/cli/audit.mdx and the --offline help text are updated to match what ships.
--offline uses two ideas of "own site". Sitemap URLs use the audited host, its subdomains, the www/apex pair and project.domains. Asset references use the base host and its subdomains only. So under --offline, an apex stylesheet on a www site, or a script on a project.domains host, is skipped and reported as "third-party resources were not measured", while a sitemap URL on the same host is still checked. One definition for both would close that gap.
Added acceptance criteria:
Under --offline, the soft-404 confirmation re-fetch sends nothing to another host.
Under --offline, an asset on the www/apex twin or a project.domains host is checked like the site's own, matching how sitemap URLs are treated.
Activity
nc9 commentedon Oct 15, 2026
Two more for this issue, from the #816 review:
redirect: "follow"), so under--offlineit can reach another host too. Its header handling across that redirect is tracked separately in soft-404 confirmation re-fetch can send custom request headers across a redirect to another origin #820.--offlineuses two ideas of "own site". Sitemap URLs use the audited host, its subdomains, the www/apex pair andproject.domains. Asset references use the base host and its subdomains only. So under--offline, an apex stylesheet on a www site, or a script on aproject.domainshost, is skipped and reported as "third-party resources were not measured", while a sitemap URL on the same host is still checked. One definition for both would close that gap.Added acceptance criteria:
--offline, the soft-404 confirmation re-fetch sends nothing to another host.--offline, an asset on the www/apex twin or aproject.domainshost is checked like the site's own, matching how sitemap URLs are treated.fix(crawler,engine,utils): an own-host sitemap redirecting off-site r…
fix(crawler,engine,cli): --offline holds every request to the audited…
fix(crawler,engine,utils): an own-host sitemap redirecting off-site r…