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

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 ♦
accept rate: 19%

(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



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:


question asked: 19 Feb '18, 07:33

question was seen: 800 times

last updated: 22 Feb '18, 12:19

powered by OSQA