NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I can set this JOSM Advanced Preference,

tag key="imagery.generic.minimum_expires" value="3600000000"

But I don't want to do it for all imagery. I only want to do it for the ABC imagery from the XYZ server. How to?

You see there is this horrible server that is wastefully responding

 HTTP/1.1 200 OK
 Cache-Control: no-cache
 Pragma: no-cache
 Expires: -1

while everybody knows the cadastral maps it serves won't change for years and years, so I don't want JOSM to bother to attempt to refresh them every hour whenever I browse them.

asked 19 Feb '18, 07:33

jidanni's gravatar image

jidanni
339323647
accept rate: 0%


There doesn't seem to be an imagery configuration parameter for this (see https://josm.openstreetmap.de/wiki/Maps#Documentation ) so the answer is simply: you can't.

permanent link

answered 19 Feb '18, 12:57

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

(22 Feb '18, 12:19) jidanni
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×622
×20
×7
×4

question asked: 19 Feb '18, 07:33

question was seen: 1,736 times

last updated: 22 Feb '18, 12:19

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum