How to Turn a Prompt Into a UI Design

November 23, 2026

At scale, Firecrawl problems stop being about parsing and start being about coverage and cost. A crawl of 20,000 pages on a nightly schedule will burn through credits fast, and half the result may be unchanged text. The fixes below are what keep a crawler useful after the first month.

Why does a Firecrawl crawl miss pages that exist?

Depth and includePaths are the usual causes. The default crawl follows internal links up to a depth limit, and pages buried five clicks deep never get visited. Likewise, an includePaths regex that anchors to ^/docs/ skips anything served from /docs-v2/.

Check the crawl response’s total and completed counts. If completed is much lower than the links it found, you hit the limit, not the parser.

Pattern 1: Split large sites into job shards

One crawl of 50,000 pages usually times out or returns partial results. Instead, run crawls per section in parallel and merge results by URL hash.

A workable split for a docs site:

  • /docs/getting-started: 300 pages
  • /docs/api: 2,000 pages
  • /docs/guides: 900 pages
  • /changelog: skip entirely

Each shard gets its own limit and its own retry. When one fails you re-run 300 pages, not 50,000.

Pattern 2: Diff before you embed

Firecrawl charges for the scrape regardless of whether text changed. The saving is downstream, in vector database writes and embedding calls.

Store a content hash per URL. If the new markdown hash matches the stored one, drop it before embedding. On documentation sites, 60 to 80 percent of pages are byte-identical between weekly runs.

Pattern 3: Cache aggressively with maxAge

Firecrawl supports a maxAge option that returns cached results if the page was crawled within that window. Setting maxAge to 172800000 (48 hours in milliseconds) during development reruns cuts your test-loop cost dramatically without changing production freshness.

Pattern 4: Handle rate limits instead of retrying blind

On 429 responses, back off with jitter. A simple exponential schedule starting at 2 seconds and doubling to 32 seconds clears most throttling. Firing retries every 200ms makes throttling worse and can get a key temporarily blocked.

Keep concurrency low for crawls. Three to five concurrent crawls is enough for most teams and stays inside standard plan limits.

Pattern 5: Validate the markdown, not the status code

A crawl that returns success for every URL can still produce unusable text: empty markdown on JS pages, entire pages of navigation, or a login wall rendered as content.

Run a post-crawl check on a random sample of 20 pages. Reject pages where the markdown is under 200 characters or where the link density is above 40 percent of the text. Those two rules catch most broken captures.

What this approach costs

A nightly crawl of a 5,000 page docs site on a mid-tier plan is affordable if you diff before embedding and use maxAge during dev. Without those two practices, the same site can push you into overage within a week.

Budget roughly one credit per page per run and multiply by run frequency. If that number looks alarming, crawl weekly or only crawl changed sections.

Where it does not fit

If your content changes minute to minute, such as live pricing or inventory, a scheduled crawl is the wrong tool. Use the scrape endpoint on demand with a short cache instead.

Small sites under 200 pages rarely need sharding or diffing. The overhead of the pipeline costs more than the credits saved.

Quick Summary

  • Missing pages are usually depth or regex scope, not parsing failures.
  • Shard large crawls by section so a failure costs you hundreds of pages, not thousands.
  • Hash markdown text and skip unchanged pages before embedding.
  • maxAge cuts dev-loop credit use with no production freshness penalty.
  • Back off on 429 with jitter; keep concurrency at three to five crawls.

For current credit pricing and concurrency limits, see the Firecrawl tool page.