- Disable cache ...

This commit is contained in:
Paulo Gustavo Veiga 2013-02-10 15:24:37 -03:00
parent 86d5c98ed7
commit 7bd87c50ac

View File

@ -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"/>