]> git.street.me.uk Git - andy/viking.git/commit - src/download.c
Change max cache time to 1 week.
authorGreg Troxel <gdt@ir.bbn.com>
Wed, 9 Jun 2010 00:38:01 +0000 (20:38 -0400)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Thu, 17 Jun 2010 20:12:01 +0000 (22:12 +0200)
commit622f7c6ffa7d1d56fe589195de385277d06352a3
treeb5addc46db40a87b6fe57efa50262876fb908c77
parent38d8bc54ecc915a38c846c837ea675f6d79fecaf
Change max cache time to 1 week.

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