- Disable cache ...
parent
86d5c98ed7
commit
7bd87c50ac
|
@ -14,6 +14,17 @@
|
||||||
|
|
||||||
<context:component-scan base-package="com.wisemapping.rest"/>
|
<context:component-scan base-package="com.wisemapping.rest"/>
|
||||||
<context:annotation-config/>
|
<context:annotation-config/>
|
||||||
|
|
||||||
|
<!-- Interceptors Registration -->
|
||||||
|
<mvc:interceptors>
|
||||||
|
<bean id="webContentInterceptor" class="org.springframework.web.servlet.mvc.WebContentInterceptor">
|
||||||
|
<property name="cacheSeconds" value="0"/>
|
||||||
|
<property name="useExpiresHeader" value="true"/>
|
||||||
|
<property name="useCacheControlHeader" value="true"/>
|
||||||
|
<property name="useCacheControlNoStore" value="true"/>
|
||||||
|
</bean>
|
||||||
|
</mvc:interceptors>
|
||||||
|
|
||||||
<mvc:annotation-driven>
|
<mvc:annotation-driven>
|
||||||
<mvc:message-converters>
|
<mvc:message-converters>
|
||||||
<bean class="com.wisemapping.rest.DebugMappingJacksonHttpMessageConverter"/>
|
<bean class="com.wisemapping.rest.DebugMappingJacksonHttpMessageConverter"/>
|
||||||
|
|
Loading…
Reference in New Issue