[Users] onload time

Christopher Schmidt crschmidt at crschmidt.net
Tue Sep 14 15:54:09 CEST 2010


On Tue, Sep 14, 2010 at 01:43:58PM +0000, Robert Buckley wrote:
> hi,
> 
> my app takes (according to firebug) 
> 
> 
> ...39.87s (onload: 26.93s)
> 
> 
> This is rather long for an app which isn´t really big.
> 
> 
> Do the following make a difference to the loading time?
> 
>  - Minifying the js?

This shoudl be done as part of / after the next two.

>  - removing the parts of ext.js that are not used ..ie custom build

Yes.

>  - removing the parts of openlayers.js that are not used..ie custom build

This will likely make a huge difference.

See also:
  http://ol-performance.appspot.com/
  "Load OpenLayers The Right Way"

  -- Chris


>  - using postgis instead of shapefiles

This will likely have relatively little impact.

>  - removing all js from the html doc

This will have a significant impact on subsequent loads, with
some impact on the first load.

> 
> 
> 
> are there any others?...which has the best result regarding performance and 
> useability?
> 
> 
> Cheers for any thoughts,
> 
> 
> Rob
> 
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

-- 
Christopher Schmidt
Web Developer


More information about the Users mailing list