[josm-dev] Does Caching WMS work?
Bodo Meissner
bodo at bodo-m.de
Sat Jul 3 21:05:04 BST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Martin,
I just looked at the source code of wmsplugin. (I did not write it, though.)
Am 03.07.2010 17:06, schrieb M∡rtin Koppenhoefer:
> 1. Am I right asuming that cache expiry is about time?
Yes, the expiry is a time value.
> If I put 0 or
> -1 does it mean never expire? Or do I have to put something else?
I'm not sure about 0 because the code is a bit inconsistent.
Every negative value is replaced internally with CacheFiles.EXPIRE_NEVER (= -1).
> are the numbers milliseconds, seconds or sth else?
The numbers are seconds, the default value is one day (60 * 60 * 24)
>
> 2. is the number for size in bytes?
maxsize is in megabytes (1000000), default is 50.
Any negative value is replaced with -1 which seems to mean "unlimited"
>
> 3. What happens if I change the zoomlevel? Will it delete the whole cache?
Don't know.
Bodo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwvl/AACgkQnMz9fgzDSqfGAgCfU6iDljMXA42yDm9+A49Y9UAT
p44An32ws2bsna6CSfmK4hD3QJ39xx7x
=JBmV
-----END PGP SIGNATURE-----
More information about the josm-dev
mailing list