2.7. WebDAV cache control

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:

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

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus