[josm-dev] Cleaning up the motd
Dirk Stöcker
openstreetmap at dstoecker.de
Sun Jan 25 12:39:39 GMT 2009
On Sun, 25 Jan 2009, Igor Shubovych wrote:
>> Also it would be nice, it the motd would get downloaded
>> asynchronously.
>
> +1
>
> I was wondered why JOSM starts so slowly.
> One day I didn't have Internet at all and it started in a second.
>
> Maybe it is better to cache the MOTD, and if server doesn't reply for 5
> seconds show old cached MOTD.
> Or show old till the new one is downloading.
We already have a class for that cached downloading (used in validator and
presets e.g.). When e.g. the download period is set to 1 day for the main
page and 7 days for the others then this may speedup loading a lot.
Patches welcome.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list