Hi,

hzhu wrote:
> I tested MapBuilder 1.5 alpha for half year and really like it.  One thing
> bothers me is you have to clear cache/cookies all the time, like in IE, you
> have to go to "Tools" >>"Internet Options ...", and in Firefox, you have to
> go to "Tools" >> "Clear private data..." to clear the cache and cookies.
> Otherwise, you will get client-side errors like "Sarissa is not loaded..."
>   

The behaviour you are describing was a known issue of MapBuilder 
1.5alpha1 on Internet Explorer, and it has since been fixed. MapBuilder 
1.5rc1 does not have this problem any more. So I suggest that you 
upgrade your MapBuilder installation.

> I added more functions like transparent gif acetate layers on top of the
> base map. I think this might add overhead to the cache, and I understand
> Openlayer need quite some cache resource to get the "Drag-Panning" to work. 
> Is there a way to make cache more efficient, or do I need to write code to
> clear cache automatically instead of asking user to clean up all the time.
>   

Do you want to clear the cache just because of the (meanwhile fixed) 
Sarissa issue, or do you want to refresh WMS layers because the data has 
changed? Also, the available cache size is determined by your browser 
cache settings. Firefox 2 is known to need much memory for cacheing 
images, but Firefox 3 will not any more. If you do not want to have 
images cached, you can use "WMS" instead of "WMS-C" as layer type. Also, 
if you have many layers, it might make sense to get them from the server 
in one piece (e.g. if it is just background data). You can have a 
comma-separated list of layer names in the layer's <Name> properties in 
the context xml.

Regards,
Andreas.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to