The embedded WebDAV server lets you control the cache-control HTTP header that transmits to clients by the MIME type. This is useful for fine-tuning your website.
The default cache-control is text/*:max-age=3600;image/*:max-age=1800;*/*:no-cache for Tomcat and text/*:max-age=3600;image/*:max-age=1800;application/*:max-age=1800;*/*:no-cache for JBoss.
If you want to change it, add the webdav.cache-control
property to the file:
$PLATFORM_TOMCAT_HOME/gatein/conf/configuration.properties
file (in Tomcat).
$PLATFORM_JBOSS_HOME/standalone/configuration/gatein/configuration.properties
(in JBoss).
This is a sample:
webdav.cache-control=text/*:max-age=3600;image/*:max-age=1800;*/*:no-cache;
Refer to WebDAV Frequently asked questions for a syntax explanation of cache-control.
See also