logoalt Hacker News

pratiotoday at 12:55 PM1 replyview on HN

Yes, Absolutely in love with it. Loading tiles with range requests made our application so much faster.


Replies

jtbakertoday at 2:49 PM

It's very cool! If you want to get higher cache hit rates from a CDN or redis etc. and lower the amount of S3 reads, you can get set up a proxy to convert `/{z}/{x}/{y}.mvt` requests into the byte-range requests: https://docs.protomaps.com/deploy/

Brandon has some example code you can lift to dump it into a Cloudflare Worker or other platforms on that page.

show 1 reply