by hyperknot · 2y ago · 0 comments
The main reason PMTiles is one file and not two or more files is that it enables atomic updates in-place (which every mature storage platform supports) as well as ETag content change detection in downstream caches. All of the server and serverless implementations at http://github.com/protomaps support this now for AWS, S3-compatible storage, Google Cloud, and Azure.
Also, I'm pretty sure range requests are going to be difficult to cache. That implies going to origin every request which is bad.