Opened 7 years ago
Last modified 5 years ago
#16000 new enhancement
Allow per-map setting of imagery.generic.*_expires
Reported by: | jidanni | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | |
Keywords: | tms cache | Cc: |
Description (last modified by )
Please allow per-map setting of imagery.generic.*_expires.
Otherwise even if just one map on one site needs a different setting,
not only all the maps on that site are forced to use it,
every map on every site is too.
Compare
http://www.offline-maps.net/en/help/maps/stored/custom#advanced_example 's
per-map <update-delay> tag.
Attachments (1)
Change History (6)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
P.S., imagery.generic.minimum_expires has no documentation yet.
When creating the documentation do mention how it interacts with the tags servers send. E.g., as seen in
https://help.openstreetmap.org/questions/62203/how-to-change-josm-imagerygenericminimum_expires-but-just-for-one-imagery
Say if it overrides those tags and which.
comment:3 by , 7 years ago
Description: | modified (diff) |
---|
comment:4 by , 7 years ago
Keywords: | tms cache added |
---|
For future reference:
/** * Class bridging TMS requests to JCS cache requests * * @author Wiktor Niesiobędzki * @since 8168 */ public class TMSCachedTileLoaderJob extends JCSCachedTileLoaderJob<String, BufferedImageCacheEntry> implements TileJob, ICachedLoaderListener { private static final LongProperty MAXIMUM_EXPIRES = new LongProperty("imagery.generic.maximum_expires", TimeUnit.DAYS.toMillis(30)); private static final LongProperty MINIMUM_EXPIRES = new LongProperty("imagery.generic.minimum_expires", TimeUnit.HOURS.toMillis(1));
by , 5 years ago
Attachment: | 2020-05-16-222246.png added |
---|
comment:5 by , 5 years ago
Setting a custom minimumTileExpire
for one imagery entry is already possible thanks to r13733:
http://www.alpinequest.net/en/help/v2/maps/on-demand-create has even more features.