...
This provides the best performance of all the client side map caching options, and with the proper use of expiry times in the web server can result in very fast map redraws.
Disabling client side map caching
If you want to disable the caching on the client you need to explicitly set the map engine type to 'weave'.
As part of the process of setting up the client side map tiling the Weave server will set the client map engine type to either 'agstiled' or 'agsrest' (depending upon the type of map cache created in AGS, fused vs. multi layer) UNLESS it's already explicitly set to something. We can take advantage of this to set the map type to 'weave', which is the default if not specified anyway, thereby stopping the alterations from taking place.
Disabling the use of client side tile caching.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<mapEngine id="raster.fused">
<type>weave</type>
<options>
<type>jpg</type>
<transitionEffect>resize</transitionEffect>
<alpha>true</alpha>
</options>
</mapEngine>
|
forcing the client to contact the Weave server to generate map images.