sec-* headers and any signatures.
- Cloudflare Workers
- Next.js middleware
- Express
fetch at global scope, so the ranges load on the first request. Caching the promise rather than the result keeps concurrent first requests from each downloading them.Store the result
If the result feeds analytics, storecategory, kind, id and verified with the request. To re-classify later, also keep:
- the user agent;
- the exact
Acceptvalue; - whether
sec-fetch-mode,sec-ch-ua,accept-language,signatureandsignature-agentwere present.