Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class controls how the map images are cached by the browser.
The ClientCache class controls whether the map images will be cached by the browser. Setting the <strong>CacheId</strong> will enable the browser to cache the map images.The <strong>CacheId</strong> string will 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 <strong>CacheId</strong> 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.The <strong>Duration</strong> defines the length of time that the images will remain in the browser cache. After that time, the image will then be requested from the server.
*System.Object **ThinkGeo.MapSuite.WebEdition.ClientCache
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
ClientCache | Initializes a new instance of the ClientCache class. | ||
ClientCache | TimeSpan | Initializes a new instance of the ClientCache class with the specified expiration time. | |
ClientCache | TimeSpan, String | Initializes a new instance of the ClientCache class with the specified expiration time and cacheId string. |
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
ToJson | Returns a JSON string containing the CacheId that will be part of the request string. | ||
ToString | Object |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
| Name | Return | DeclaringType | Summary |
|---|
| Name | Event Arguments | DeclaringType | Summary |
|---|
Initializes a new instance of the ClientCache class.
Initializes a new instance of the ClientCache class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ClientCache.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ClientCache.28.29</a>
| Name | Type | Description |
|---|
Initializes a new instance of the ClientCache class with the specified expiration time.
Initializes a new instance of the ClientCache class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ClientCache.28TimeSpan.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ClientCache.28TimeSpan.29</a>
| Name | Type | Description |
|---|---|---|
| duration | TimeSpan<!– System.TimeSpan –> | The amount of the time that the cached images are to remain in the browser cache. |
Initializes a new instance of the ClientCache class with the specified expiration time and cacheId string.
Initializes a new instance of the ClientCache class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ClientCache.28TimeSpan.2C_String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ClientCache.28TimeSpan.2C_String.29</a>
| Name | Type | Description |
|---|---|---|
| duration | TimeSpan<!– System.TimeSpan –> | The amount of the time that the cached images are to remain in the browser cache. |
| cacheId | String<!– System.String –> | A string that the browser uses to retrieve a cached image. |
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#Equals.28Object.29</a>
| Return Type | Description |
|---|---|
| Boolean<!– System.Boolean –> |
| Name | Type | Description |
|---|---|---|
| obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#GetHashCode.28.29</a>
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#GetType.28.29</a>
| Return Type | Description |
|---|---|
| Type<!– System.Type –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Returns a JSON string containing the CacheId that will be part of the request string.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ToJson.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ToJson.28.29</a>
| Return Type | Description |
|---|---|
| String<!– System.String –> | A JSON string that contains the CacheId. |
| Name | Type | Description |
|---|
<!– ThinkGeo.MapSuite.WebEdition.ClientCache –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#ToString.28.29</a>
| Return Type | Description |
|---|---|
| String<!– System.String –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#Finalize.28.29</a>
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ClientCache#MemberwiseClone.28.29</a>
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
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 <strong>CacheId</strong> will enable the browser to cache the map images. The <strong>CacheId</strong> 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 <strong>CacheId</strong> 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.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.ClientCache –> Go Back
Gets or sets the expiration time of the images in the browser cache.
The <strong>Duration</strong> indicates the length of time that images will remain in the browser cache before expiring. The default value is 7 day.
| Return Type |
|---|
| TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.WebEdition.ClientCache –> Go Back
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.