On Thu, Aug 29, 2013 at 10:09 AM, Ian Turton <[email protected]> wrote:
>
>
>
> 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.
>
I believe it's normal, the first creation is not to be cached since we
don't yet know if the store will be saved or not (we first create to
validate, then save the store)
>
>
>>
>> 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).
>
I see. Well, happy hunting I guess? :-p
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
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