caching bug with aerial imagery
due to network problems I noticed (supposedly) a caching bug: I added an aerial imagery layer (wms) while being offline: the tiles were displayed (guess from the cache), but after a few seconds, the same tiles became red (the already downloaded tiles). "Automatic downloading" is activated (is this the reason that already present tiles will get re-requested?). Red tiles should be omitted if there is some image in cache for the area.
Change History
(8)
Component: |
Core → Core imagery
|
Keywords: |
cache added; imagery removed
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
I didn't know that this bug report existed when I wrote the following, another phrasing, to which I add "reproducing":
I often notice with an often non-responding server that JOSM doesn't use its WMS cache.
If one is returning to previous work when the server no longer responds, WMS first displays previously cached tiles, then it probably sends requests that time out for the same tiles and it ends up painting them in red after a delay. That's how it looks like.
That is of course frustrating to see the map eased and that one could but cannot finish some work because of that.
Reproducing:
Load an OSM area and open a WMS layer.
Close and restart JOSM.
Reload the same OSM area.
Disconnect the Internet (e.g. shutdown WiFi or sudo route add default gw 127.0.0.2 (restore later: sudo route del default gw 127.0.0.2))
Reopen the same WMS layer: tiles appear and then turn to red after a timeout.
Cheers.