Answered my own question.
There is SimpleCacheFilter, and you can change the cache-time by adding
the following to your deployment-fragment.xml.
<extension target="web#FILTER">
<filter>
<display-name>Nuxeo Simple Cache Filter</display-name>
<filter-name>simpleCacheFilter</filter-name>
<filter-class>
org.nuxeo.ecm.platform.ui.web.cache.SimpleCacheFilter
</filter-class>
<init-param>
<param-name>cacheTime</param-name>
<!-- 7 days -->
<param-value>604800</param-value>
</init-param>
</filter>
</extension>
This adds the above XML snippet after the original Nuxeo one and (in
JBoss at least) this second snippet takes precedence.
This works, but doesn't feel quite right to me - would be nice to
configure via nuxeo.properties or something similar in the config
directory. What do others think?
Thanks,
Sean
Sean Radford wrote:
Hi,
How are people dealing with setting (modifying) the Expiry Header Tag
of static images served up by Nuxeo?
Thanks,
Sean
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm