Pages: live by default
/scrape, /search (for scraped results), crawls and batch scrapes fetch every page live unless you say otherwise.
Set max_age in milliseconds, up to 30 days, to accept a stored copy fetched at most that long ago:
- A stored copy answers any mix of formats and comes back faster. It costs the same as a live fetch.
metadata.cache_statesays what happened:hitormiss. A hit carriesmetadata.cached_at.- Requests that send
headersare never stored or served from storage.
Company data: curated first
/enrich, /brand, /company, /classify and batches of them answer well-known companies from curated data, in milliseconds. Other sites are read live, which takes 5 to 20 seconds.
Curated answers can carry fewer fields than a live read. Two kinds of request are always read live:
/brandor/enrichwithdesignTokens=true/styleguide, although a repeat request can come from the request cache