ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
This class controls how the map images are cached by the browser.
N/A
Initializes a new instance of the ClientCache class with the specified expiration time.
N/A
Initializes a new instance of the ClientCache class with the specified expiration time and cacheId string.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
The Duration indicates the length of time that images will remain in the browser cache before expiring. The default value is 7 day.
Gets or sets a string that enables the browser to cache images, and which is also part of the key for the browser to distinguish between each cached image.
Setting the CacheId will enable the browser to cache the map images. The CacheId string will also be appended to the URL of the image. The browser uses the URL as the key to retrieve a cached image; thus, you can make the browser cache different images by setting the CacheId to different values. For example, you can set a different CacheId for requests with different parameters and the browser will cache the different images for those requests.