On 29 August 2013 07:28, Andrea Aime <[email protected]> wrote:

> On Thu, Aug 29, 2013 at 2:19 AM, Jody Garnett <[email protected]>wrote:
>
>> I see, so a trouble with version negotiation at the gt-wms client level?
>>
>> I did add a constructor that allow you to feed in a cached capabilities
>> document ( so uDig could avoid making multiple requests and cache between
>> runs ).
>>
>
> GeoServer caches and reuses the whole WebMapServer object, achieving a
> similar effect:
>
> https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/catalog/ResourcePool.java#L1439
>

Creating a WMS store doesn't seem to use that path (or doesn't populate the
cache) - I'll see if I can find time to debug further tonight.


>
> On a related note, might it be that the many requests are due to the proxy
> ruining the xml document contents?
>
>
The proxy only comes into play on the third request (with the
multihttpclient) - The first two requests are from the page validator,
while the final one goes through the cache (which is empty).

Ian
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to