Hacker News new | ask | show | jobs
by phiresky 1784 days ago
You can chunk the file into e.g. 2MB chunks. The CDN can then cache all or the most commonly used ones. That's what I did in the original blog post to be able to host it on GitHub Pages.
1 comments

I would look into caching range requests. Simpler than pre-chunking or caching the whole database.