Created
April 20, 2013 14:37
-
-
Save alanorth/5426188 to your computer and use it in GitHub Desktop.
Change CCAFS XMLUI to use non caching aspect pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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