4 ms·
> We save 7TB per mo egress because of Cloudflare's free cache (through Workers) and pay nothing for it. That's huge, Could you explain a bit more on how you a
by Abishek_Muthian 5y ago
> We save 7TB per mo egress because of Cloudflare's free cache (through Workers) and pay nothing for it.
That's huge, Could you explain a bit more on how you achieve that? I've been exploring Cloudflare cache, AFAIK for anything not cached by default you need a special page rule e.g. for .html, I tried a wildcard domain.com/* and it doesn't seem to make any difference. Are you using workers to cache specific file types?
- ignoramous 5y ago> Are you using workers to cache specific file types? Yes: Using Workers as an api gateway and the Cache API as CDN. [0] https://developers.cloudflare.com/workers/learning/how-the-cache-works#interacting-with-the-cloudflare-cache https://developers.cloudflare.com/workers/learning/how-the-c...
- Abishek_Muthian 5y agoThanks, what type of files do you serve through that?
- ignoramous 5y agoexecutables, raw binary files (like apache parquet), and (rarely) json.