[geojquery] Size of the resulting JS stack,

Marc Jansen jansen at terrestris.de
Mon Mar 15 14:48:32 EDT 2010


Hi Yves,


Yves Moisan schrieb:
> I have the following stats for the minified libs of ExtJS v3.1.0 
> OpenLayers SVN r10095 and GeoExt SVN r1928:
>>
>> ext-base.js 32K
>> ext-all.js 636K
>> OpenLayers.js 844K
>> GeoExt.js 96K
>>
>> So a total of around 1.5 MB.
>> These and some css are required for GeoExt. With OpenLayers and ExtJS 
>> (http://www.extjs.com/products/extjs/build) one can build custom 
>> versions that exclude unused classes/code. For example, for a mobile 
>> site using only WMS, I have built an OpenLayers minified lib of 124K.
> Right.  Let's forget about CSS and think JS only, unless indeed the 
> weight of CSS is dramatically different between the Ext and JQuery 
> paths.  As to making OL by removing parts of it, I find [1] to be very 
> useful.  Thanx Till et al !  I'll be using the names of files to 
> exclude in jsbuild to build profiles for our users.

I'd suggest you use http://openlayerer.appspot.com/ to build your OL. 
The URL you gave should point to an old version of OL... maybe I'll find 
the time to update that soon.

Regards,

Marc


[snip]
>
> Cheers,
>
> Yves
> [1] http://www.webmapcenter.de/olbuild/makebuild.php
>
> _______________________________________________
> Geojquery mailing list
> Geojquery at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geojquery
>



More information about the Geojquery mailing list