Principle:1broseidon Ketch Adaptive Browser Escalation
| Knowledge Sources | |
|---|---|
| Domains | Crawl, Adaptive_Strategy |
| Last Updated | 2026-10-27 00:00 GMT |
Overview
A per-host heuristic that switches a crawler to headless-browser rendering once a host's pages are overwhelmingly JavaScript shells, avoiding repeated HTTP-then-browser round-trips on sites that are uniformly client-rendered.
Theoretical Basis
The per-page JS-shell detector decides whether a single page needs a browser. On a crawl of a uniformly client-rendered site, that detector would flag `"likely_shell"` on every page, and each page would pay the HTTP fetch + detection + browser re-fetch. Tracking detection per host turns the per-page signal into a host-wide decision: once a host has ≥10 recorded pages and >80% are shells, the crawler switches to `BrowserScrape` for that host's remaining HTML pages, skipping the wasted HTTP fetch.
The threshold is deliberately conservative on both ends: 10 total pages gives statistical signal; 80% shells avoids flipping on a host with a few shell pages among many static ones. Ambiguous results don't count as shells, so an uncertain detector doesn't push a host over the line.
Usage
Use when a traversal revisits hosts and a per-input escalation decision is expensive. Track per-batch statistics and switch the policy for the batch once the cheap path is almost never the right one.