You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ed...@apache.org on 2005/04/19 16:18:14 UTC
svn commit: r161896 -
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/usecases/1formedit/usecase-1formedit.xmap
Author: edith
Date: Tue Apr 19 07:18:14 2005
New Revision: 161896
URL: http://svn.apache.org/viewcvs?view=rev&rev=161896
Log:
Thanks to Simon Litwan: this patch prevents caching the oneFormEditor in the browser. Bug #34414
Modified:
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/usecases/1formedit/usecase-1formedit.xmap
Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/usecases/1formedit/usecase-1formedit.xmap
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/usecases/1formedit/usecase-1formedit.xmap?view=diff&r1=161895&r2=161896
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/usecases/1formedit/usecase-1formedit.xmap (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/usecases/1formedit/usecase-1formedit.xmap Tue Apr 19 07:18:14 2005
@@ -77,6 +77,11 @@
<map:parameter name="docid" value="{page-envelope:document-id}"/>
<map:parameter name="language" value="{page-envelope:document-language}"/>
</map:transform>
+ <map:act type="set-header">
+ <!-- prevent caching in the browser -->
+ <map:parameter name="Cache-Control" value="pre-check=0" />
+ <map:parameter name="Expires" value="-1" />
+ </map:act>
<map:call resource="style-cms-page"/>
</map:match>
</map:match>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org