#10849 closed enhancement (fixed)
improve TMS imagery caching
Reported by: | bastiK | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.03 |
Component: | JMapViewer | Version: | |
Keywords: | Cc: |
Description
Currently, the TMS caching is a little strange:
(1)
- After first download, the offline cache will be used for 7 days.
- From that point on, the check period is reduced to 1 day.
A check is as good as a download, so instead it should only check after another 7 days, and so on.
(2)
- When cache is stale, and image cannot be downloaded (e.g. no network connection), it displays no tile.
Instead, the old cached image should be used. This is better than displaying nothing.
Attachments (0)
Change History (11)
comment:1 by , 10 years ago
Milestone: | → 14.12 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Type: | defect → enhancement |
comment:2 by , 10 years ago
Component: | Core imagery → JMapViewer |
---|
follow-up: 5 comment:3 by , 10 years ago
Replying to bastiK:
Currently, the TMS caching is a little strange:
(1)
- After first download, the offline cache will be used for 7 days.
- From that point on, the check period is reduced to 1 day.
Are these periods configurable ? I'd like to check every 24h as a check is fast but waiting seven days is quite a long time in a world of seconds or below.
comment:5 by , 10 years ago
Replying to skyper:
Replying to bastiK:
Currently, the TMS caching is a little strange:
(1)
- After first download, the offline cache will be used for 7 days.
- From that point on, the check period is reduced to 1 day.
Are these periods configurable ? I'd like to check every 24h as a check is fast but waiting seven days is quite a long time in a world of seconds or below.
7 days seems okay for aerial imagery, with update periods of one year or more. But the OSM tiles should probably be checked every day or more, as the user probably want to see their own edits on the map as soon as possible.
comment:6 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:9 by , 10 years ago
Milestone: | 15.02 |
---|
comment:11 by , 10 years ago
Milestone: | → 15.03 |
---|
In [o30849].