When caching tiles, it's reasonable for the user to be able to make a tradeoff as to how long a cache lifetime is reasonable. Even with OSM mapnik, it's a reasonable choice to accept tiles that are a week old rather than incurring network latency. Arguably terraserver tiles (or any other source that is not expected to change) should be able to be set to months. --- src/download.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/download.c b/src/download.c index 1c7711b..065aba1 100644 --- a/src/download.c +++ b/src/download.c @@ -104,7 +104,7 @@ static GMutex *file_list_mutex = NULL; /* spin button scales */ VikLayerParamScale params_scales[] = { - {1, 10000, 10, 0}, + {1, 86400*7, 10, 0}, /* download_tile_age */ }; static VikLayerParam prefs[] = { -- 1.7.0.5 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/