mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
- Disable cache ...
This commit is contained in:
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
Block a user