Fine, but we need way to transfer this scripts over the network as gzip.
So your OpenLayer.js is 856 kB big and needs 1.38s for transfer.
I use php for compression, so it looks for the client like normal 
JavaScript. My OpenLayers-original2-9.js.php that I use in
OSM-Gadget need 193 kB (the same like that from openlayers.org) and 
needs 0.53 sec for transfer.

For the Openlayers application in Geohack of the german WP I removed all 
unnecessary
features (with the help Openlayerer.org + Try&Error) so I come to 82 kB 
with compression.

PHP is the only way I know to start the gzhandler, there are surely 
better ways for admins in server-preferences.
It's seem not usefull to compress a file everytime new.

The Jquery-skript have also in the latest directory the actual 
version-number in the filename (jquery-1.4.2.js 
<http://toolserver.org/%7Eosm/libs/jquery/latest/jquery-1.4.2.js>) thats
perhaps also not optimal.

What I miss is the OpenStreetMap.js from Openstreetmap.org or is this 
not wanted?

I think a central point for this scripts is the best way, because I 
don't need to update it for my own
and we should surely go away from highloaded OpenLayers-Servers,
but we should optimize it a little bit more.

Greetings Kolossos

Peter Körner schrieb:
> Hi
>
> on the German list the need came up to link openlayers & co. from the 
> toolserver directly instead of openlayers.org.
>
> I've put up recent versions of some libs i found useful at
> http://toolserver.org/~osm/libs/
>
> If a lib is missing or an update is required, please mail this list.
>
> Peter
>
> _______________________________________________
> Maps-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/maps-l
>
>   


_______________________________________________
Maps-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/maps-l

Reply via email to