Hacker News new | ask | show | jobs
by lukeqsee 1212 days ago
You typically use byte-range caching in libraries—either using an edge worker (a la Cloudflare) to create separate GET requests from the client's perspective or directly in the client.
1 comments

i think you can also directly call them from the maplibre lib itself using the pmtiles adapter

https://github.com/protomaps/PMTiles

https://github.com/protomaps/PMTiles/blob/main/js/examples/m...