Skip to content

Instantly share code, notes, and snippets.

@tiry
Created August 25, 2016 01:13
Show Gist options
  • Save tiry/8785886973d29069265e9d6c59841ad8 to your computer and use it in GitHub Desktop.
Save tiry/8785886973d29069265e9d6c59841ad8 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<component name="RequestControllerService.defaultContrib.override">
<require>org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService.defaultContrib</require>
<!-- disable changes introduced by NXP-18651 -->
<extension target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService"
point="responseHeaders">
<header name="Cache-Control" enabled="false">no-cache</header>
<header name="Pragma" enabled="false">no-cache</header>
</extension>
<extension target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService"
point="filterConfig">
<filterConfig name="richfaces-static" cached="true" private="false" transactional="false" synchonize="false" cacheTime="3600">
<pattern>${org.nuxeo.ecm.contextPath}/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/.*</pattern>
</filterConfig>
<filterConfig name="jsf-static" cached="true" private="false" transactional="false" synchonize="false" cacheTime="3600">
<pattern>${org.nuxeo.ecm.contextPath}/javax.faces.resource/.*</pattern>
</filterConfig>
<filterConfig name="wro" cached="true" private="false" transactional="false" synchonize="false" cacheTime="3600">
<pattern>${org.nuxeo.ecm.contextPath}/wro/api/v1/resource/.*</pattern>
</filterConfig>
<filterConfig name="thumbs" cached="true" private="true" transactional="false" synchonize="false" cacheTime="3600">
<pattern>${org.nuxeo.ecm.contextPath}/nxthumb/.*</pattern>
</filterConfig>
</extension>
</component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment