mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
Disable browser cache.
This commit is contained in:
parent
f3d88e91c4
commit
82ff47220d
@ -8,7 +8,7 @@ BASE_DIR=`pwd`
|
||||
TARGET_DIR=$BASE_DIR/target
|
||||
JETTY_DIR=$TARGET_DIR/wisemapping-$WISE_VERSION
|
||||
WISE_WEBAPP_DIR=$JETTY_DIR/webapps/wisemapping
|
||||
JETTY_VERSION=8.1.5.v20120716
|
||||
JETTY_VERSION=8.1.8.v20121106
|
||||
JETTY_DIST_DIR=jetty-distribution-${JETTY_VERSION}
|
||||
JETTY_ZIP=${JETTY_DIST_DIR}.zip
|
||||
|
||||
|
@ -38,6 +38,13 @@
|
||||
</bean>
|
||||
<bean id="userLocaleInterceptor" class="com.wisemapping.filter.UserLocaleInterceptor"/>
|
||||
<bean id="requestInterceptor" class="com.wisemapping.filter.RequestPropertiesInterceptor"/>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user