Configure to Enable Web Request Caching

Feedback


SuperMap iServer supports enabling Web request caching.

Web request caching is implemented by storing the results of all different requests in memory (ehcache), and you can select whether to enable/disable as needed Web request cache. After the Web request cache is enabled, the response result of the request will be automatically cached. When the client sends the same request again, the server will directly return the cached result, thereby improving the service performance.

SuperMap iServer enables Web request caching by default. The cache life cycle is 1 minute. When no same request comes within one minute, the cache will be automatically invalidated. Support Web request cache modules include REST map service and REST 3D service.

The specific application method is as follows:

  1. On the service management "Advanced-Global Settings-HTTP Cache Setting" page, click HTTP Cache Setting.
  2. On the HTTP cache page, the button "Enable HTTP Cache" is provided; it is enabled by default, and if the button is grayed out, it means disabled.