Jump to: navigation, search

Configuring HTTP Caching

By default, HTTP Caching is disabled in GMS.

To configure caching, you must first start and stop GMS. Tell me why

Then, you can configure caching in GMS by editing the following file, located in the WEB-INF directory of your GMS installation: <GMS_HOME>/work/.../webapp/WEB-INF/servlet-context.xml

You should set the cacheSeconds property value to 3600 for instance (defaut is 0).

<bean id="webContentInterceptor"
<property name="cacheSeconds" value="3600" />
<property name="useExpiresHeader" value="true" />
<property name="useCacheControlHeader" value="true" />
<property name="useCacheControlNoStore" value="true" />

Then, you should restart GMS.

You must set this option to an appropriate value in case of heavy traffic between ORS and GMS.
This page was last edited on March 18, 2016, at 11:12.
Comments or questions about this documentation? Contact us for support!