Browser cache

From OpenStreetMap Wiki
Jump to navigation Jump to search

The browser cache is a local copy of data that has been requested before, maintained by the browser itself.

In the context of OpenStreetMap it is typically mentioned when someone asks "I made an edit, but it's not shown on the map. Why?".

The typical reason is that the browser shows a cached, now outdated version.

The solution is to force clearing the cache. This results in the browser requesting the map tiles again, often resulting in showing an updated version.

Note that edits affecting only relations will not trigger rerendering[1]. In such cases you can improve something additional to trigger refresh.

Linux

Firefox & Chrome:

  • Press Ctrl+F5


Windows

Firefox & Chrome:

  • Press Ctrl+F5

Mac

Firefox & Chrome:

  • Press Shift + reload button

or

  • Press Command+ Shift+r

Android

In Firefox:

  • Press the three vertical dots in the top right, then press & hold the reload button in the pop-up menu.

Others

If you know, please add them!

References