Update of /var/cvs/contributions/CMSContainer/cmsc/portlets/src/webapp/WEB-INF
In directory
james.mmbase.org:/tmp/cvs-serv15973/cmsc/portlets/src/webapp/WEB-INF
Modified Files:
portlet-cmsc.xml
Log Message:
CMSC-1030 Add expires http headers based on portlet definition and view
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/portlets/src/webapp/WEB-INF
See also: http://www.mmbase.org/jira/browse/CMSC-1030
Index: portlet-cmsc.xml
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/portlets/src/webapp/WEB-INF/portlet-cmsc.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- portlet-cmsc.xml 23 Aug 2007 11:27:29 -0000 1.3
+++ portlet-cmsc.xml 25 Jul 2008 16:08:10 -0000 1.4
@@ -15,6 +15,7 @@
<name>template.help</name>
<value>ContentChannel.jsp</value>
</init-param>
+ <expiration-cache>300</expiration-cache> <!-- 5 minutes -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -46,6 +47,7 @@
<name>template.help</name>
<value>PortletSelect.jsp</value>
</init-param>
+ <expiration-cache>0</expiration-cache> <!-- always expire -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -75,6 +77,7 @@
<name>template.help</name>
<value>Menu.jsp</value>
</init-param>
+ <expiration-cache>300</expiration-cache> <!-- 5 minutes -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -105,6 +108,7 @@
<name>template.help</name>
<value>Content.jsp</value>
</init-param>
+ <expiration-cache>300</expiration-cache> <!-- 5 minutes -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -135,6 +139,7 @@
<name>template.help</name>
<value>RelatedContent.jsp</value>
</init-param>
+ <expiration-cache>300</expiration-cache> <!-- 5 minutes -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -164,6 +169,7 @@
<name>template.help</name>
<value>Iframe.jsp</value>
</init-param>
+ <expiration-cache>300</expiration-cache> <!-- 5 minutes -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -194,6 +200,7 @@
<name>template.help</name>
<value>ServerSideInclude.jsp</value>
</init-param>
+ <expiration-cache>0</expiration-cache> <!-- always expire -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -224,6 +231,7 @@
<name>template.help</name>
<value>Jsp.jsp</value>
</init-param>
+ <expiration-cache>0</expiration-cache> <!-- always expire -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
@@ -254,6 +262,7 @@
<name>template.help</name>
<value>xslt.jsp</value>
</init-param>
+ <expiration-cache>0</expiration-cache> <!-- always expire -->
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs