Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 bastiK, 9 years ago

Milestone: 14.12
Resolution: fixed
Status: newclosed
Type: defectenhancement

In [o30849].

comment:2 by Don-vip, 9 years ago

Component: Core imageryJMapViewer

in reply to:  description ; comment:3 by skyper, 9 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:4 by bastiK, 9 years ago

In [o30850] - see ​#josm10849 - minor fixes for TMS cache handling.

in reply to:  3 comment:5 by bastiK, 9 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 bastiK, 9 years ago

Resolution: fixed
Status: closedreopened

comment:7 by Don-vip, 9 years ago

Milestone: 14.1215.01

finish all cache-related tickets next month

comment:8 by stoecker, 9 years ago

Milestone: 15.0115.02

Again delayed.

comment:9 by Don-vip, 9 years ago

Milestone: 15.02

comment:10 by wiktorn, 9 years ago

Resolution: fixed
Status: reopenedclosed

Fixed within #11193

comment:11 by bastiK, 9 years ago

Milestone: 15.03

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.