[OpenLayers-Users] getCapabilities multithread

Florent Gravin florent.gravin at gmail.com
Wed May 19 08:28:58 EDT 2010


Hi,

i launch about 15 getCapabilities request before loading my map application.
i use GeoExt.data.WMSCapabilitiesStore and the proxy.cgi of openlayers in my url param to load my store.

item.layersStore = new GeoExt.data.WMSCapabilitiesStore({

url: '/cgi-bin/proxy.cgi?url=',

baseParams: { url : item.url + '?request=GetCapabilities&SERVICE=WMS&VERSION=1.1.1' + (item.namespace? '&NAMESPACE=' + item.namespace : '')}

});


it works well, but 15 requests make my app a bit slow to load. it's like other loading operations of the app (in particulary ajax ones) are interrupted until my 15 request haven't been all respond.

Is there a way to multithread all the request, or way that they take less ressources ?


thks for help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100519/b2e132ef/attachment.html


More information about the Users mailing list