Hello,
I find the ServerCache feature of Map Suite very effective and very easy to use. It increases the responsiveness of the web site immensely with just a single line of code.
Right now, it can only be turned on or off. I think, it would be better to have the option to enable cache image creation and usage independently.
It could be something like the following :
LayerOverlay.ServerCache.CacheDirectory : Would also set EnableWrite = true, EnableRead = true
LayerOverlay.ServerCache.EnableWrite : Create cache images when necessary
LayerOverlay.ServerCache.EnableRead : Use cache images if they exist
For example, I could show the images for the first 4 zoom levels from cache and render the rest dynamically.
What I would do is for preparation :
1) Set CacheDirectory
2) Create the cache images for the first 4 levels using GenerateCacheImages.
To use :
1) Set CacheDirectory
2) Set EnableWrite = false, EnableRead = true
So, I could create a balance between hard disk usage and processing load.
What do you think ?
Hakan Çelik