This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Tile URLs: What are the a.*, b.* and c.* pre-fixes?

2

I just ran into these "prefixes" and can't figure them out. At first I saw a tile URL beginning with c. and was assuming it is a cached version. Then I noticed prefixes of a. and b.*. All of the prefixed URLs seem to be some sort of cached or older versions of the tiles in question but what?

I couldn't find information in the Slippy map wiki article (https://wiki.openstreetmap.org/wiki/Slippy_Map) and the related questions here don't seem to help either (https://help.openstreetmap.org/questions/4343/dirty-tiles & https://help.openstreetmap.org/questions/1049/how-to-trigger-a-repaint-for-a-specific-osm-map-tile)

asked 02 Jun '11, 16:04

jaakkoh's gravatar image

jaakkoh
54831014
accept rate: 0%


2 Answers:

8

Normaly the web browser would not simultaniously download more then a few urls from a server. This leads to slower download when browsing the map. To trick the browser to download more tiles faster OpenLayers have support for several servers. Therefore the tile server have several domains for the same server. This trick makes the browser open up more connections to the server witch leads to faster download.

The tile server have two cache servers in front that are load balanced by theese urls. This might cause some tiles to be older on one server then the other.

answered 02 Jun '11, 19:19

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

2

Round-robin load balancers?

answered 03 Jun '11, 06:37

ivanatora's gravatar image

ivanatora
2.7k355568
accept rate: 7%

Source code available on GitHub .