komoot / staticmap

A small, python-based library for creating map images with lines, markers and polygons.
https://www.komoot.com
Other
290 stars 65 forks source link

Optional tile caching #26

Open teotomic opened 4 years ago

teotomic commented 4 years ago

Uses CacheControl to cache tiles. This reduces the number of HTTP requests when re-rendering a map instance that has changed slightly. Haven't added CacheControl as a dependency because it's entirely optional.