WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Adrian Mörchen v2.4.0

Tiles Proxy for OpenStreetMap

A basic proxy that lets OpenStreetMap plugins load map tiles from your own server instead of OpenStreetMap servers.

Tiles Proxy for OpenStreetMap

The facts

Active installs
200+
Price
Free
Last updated
27 Mar 2026
Added
Jul 2018
Requires WP
6.0
Tested up to
WP 7.0.4
Requires PHP
8.0
Downloads
6,215

Our analysis

AI-assisted

Tiles Proxy for OpenStreetMap is a WordPress plugin that allows you to load map tiles from your own server instead of directly from OpenStreetMap. This can be useful for sites that want to manage their own tile storage and potentially improve performance by caching tiles locally.

The plugin is designed for use with other OpenStreetMap plugins, such as Leaflet Map and Geolocation. It requires PHP 8.0 and has a basic setup that includes filters for custom URLs and cache management options.

Best for: This plugin suits users who want to manage OpenStreetMap tiles on their own server.

What it does well

  • Allows loading map tiles from your own server
  • Compatible with various OpenStreetMap plugins
  • Offers filters for custom URL management
  • Basic cache management options available

Where it falls short

  • May require significant storage depending on the map tiles used
  • Initial requests for tiles may be slow as they are cached on request
  • Performance may be slower than using official OpenStreetMap servers

Verdict

Tiles Proxy for OpenStreetMap provides a straightforward solution for serving map tiles locally, but it may come with performance trade-offs and storage requirements.

From the developer

Adrian Mörchen's own description of Tiles Proxy for OpenStreetMap, lightly tidied.

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

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:

  $proxy_cached_url   = apply_filters( 'osm_tiles_proxy_get_proxy_url', $proxy_cached_url );
  $proxy_rest_api_url = apply_filters( 'osm_tiles_proxy_get_proxy_rest_url', $proxy_rest_api_url );
  $leadlet_js_url     = apply_filters( 'osm_tiles_proxy_get_leaflet_js_url', $leadlet_js_url );
  $leadlet_css_url    = apply_filters( 'osm_tiles_proxy_get_leaflet_css_url', $leadlet_css_url );

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

define( 'OSM_PROXY_DISABLE_CLEAR_CACHE', true );

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)