Cache mechanism is an effective way to improve the efficiency of service access.
When using GIS functions, users will encounter the following situations:
- Spatial data is more complex, including too many geometric objects, rendering symbols are complex, which makes the mapping time longer. At the same time, the amount of space data is relatively large, and each time the data is read, it occupies a large memory.
- The map or a range of the map will be accessed more frequently.
- There are many read operations and few write operations for spatial data, and the map results returned to the client are relatively fixed, that is, there are few changes in spatial data.
As a result, SuperMap iServer and SuperMap iEdge provide a comprehensive caching mechanism, including HTTP caching, request caching that covers all functional services, and three types of tile based map caching, to improve the efficiency of user data access.
This topic mainly introduces the cache strategy of SuperMap iServer to help you fully understand the classification, storage format and version used in different situations of various caches, and introduces the use of distributed tiling service to help you understand the methods of cache production and use. It also gives you suggestions on the problems that need to be paid attention to in the process of making or publishing different types of caches.