7 ms·
It seems like sticking a CDN in front of the static map API could be used to reduce costs quite a bit there as well, especially if you forced it to cache more a
by elyobo 8y ago
It seems like sticking a CDN in front of the static map API could be used to reduce costs quite a bit there as well, especially if you forced it to cache more aggressively than the cache control headers returned by Google indicate. Has anyone tried this?
- elyobo 8y agoTechnically possible, but sadly prohibited by their T&Cs[1]. It's a bit annoying, if they wanted to charge per impression they should charge by impression rather than having per-api-call pricing but forcing you to call the API repeatedly for the same thing. [1] https://developers.google.com/maps/terms https://developers.google.com/maps/terms see section 10.5.d