Tiles Proxy for OpenStreetMap provides a basic proxy, which allows other OpenStreetMap plugins to load map tiles from your server instead from OpenStreetMap servers.
Sponsor: sachsen.tours
Contribute: https://github.com/moewe-io/osm-tiles-proxy
Known to work with these plugins
- Leaflet Map
- Custom Post Type to Map Store
- Geolocation
- Another plugin? Let us know.
Notes
- Beware: Depending on your map and the tiles you need, a lot of storage is needed.
- Might be slower than official servers (depends on your server)
- First requests might be slow as map tiles are cached on request
Filters
You can use filters to get the URLs from the plugin:
Constants
To disable cache invalidation when WP Rocket or WP Fastest Cache invalidate their cache, you can set the following constant in your wp-config.php

评论0