[josm-dev] JOSM Server

Ian Dees ian.dees at gmail.com
Mon Mar 18 17:50:29 UTC 2013


On Mon, Mar 18, 2013 at 12:39 PM, Dirk Stöcker
<openstreetmap at dstoecker.de>wrote:

> On Mon, 18 Mar 2013, Simon Legner wrote:
>
>>
>> What about re-generating this file on modification and shipping as fast
>> as possible (using Apache directly, Nginx or Varsnish). Maybe, having a
>> subdomain for static content might be worth a try (getting rid of
>> cookies, sessions etc.).
>>
>
> Actually while I wrote that text I thought that maybe "/maps" actually is
> a point for improvement and could be delivered static :-)
>
> Thought when I change that, I think about splitting that large page into
> smaller subpages, as editing the page also got a demanding task today. OTOH
> that makes stuff more complicated - will have to think about a useful
> solution.


Would you consider requesting the imagery.xml from a separate server? I've
slowly been working on a project to store the imagery presets across all
editors [0] so that someone who wanted to add their imagery layer could do
it in one spot and have it show up in all editors that use the same source
files.

For now, that project contains a script that spits out tons of JSON
documents. The goal is to store those JSON documents in GitHub and write
scripts that write out files in formats specific to the various editors.
These files could then be grabbed by the editors themselves.

I'm considering doing the same sort of thing for presets, but obviously
that would require more coordination.

[0] https://github.com/iandees/editor-imagery-index


More information about the josm-dev mailing list