Skip to content

Instantly share code, notes, and snippets.

@alanorth
Created April 20, 2013 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanorth/5426188 to your computer and use it in GitHub Desktop.
Save alanorth/5426188 to your computer and use it in GitHub Desktop.
Change CCAFS XMLUI to use non caching aspect pipeline
diff --git a/dspace/modules/xmlui/src/main/webapp/themes/CCAFS/sitemap.xmap b/dspace/modules/xmlui/src/main/webapp/themes/CCAFS/sitemap.xmap
index 90c19d2..7e46a5f 100644
--- a/dspace/modules/xmlui/src/main/webapp/themes/CCAFS/sitemap.xmap
+++ b/dspace/modules/xmlui/src/main/webapp/themes/CCAFS/sitemap.xmap
@@ -34,7 +34,7 @@
</map:component-configurations>
- <map:pipeline>
+ <map:pipeline type="noncaching">
<!-- Allow the browser to cache static content for an hour -->
<map:parameter name="expires" value="access plus 1 hours"/>
@@ -71,7 +71,7 @@
these are just stored on disk and passed directly to the
browser without any processing.
-->
- <map:pipeline>
+ <map:pipeline type="noncaching">
<!-- Never allow the browser to cache dynamic content -->
<map:parameter name="expires" value="now"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment