You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2005/10/21 16:03:00 UTC
svn commit: r327186 - /lenya/trunk/src/webapp/lenya/usecase.xmap
Author: thorsten
Date: Fri Oct 21 07:02:56 2005
New Revision: 327186
URL: http://svn.apache.org/viewcvs?rev=327186&view=rev
Log:
Bugfix Bug 37193. Submitted by Josias Thoeny. Fixes that Xopus caches document and thus shows an old version. Thx Josias
Modified:
lenya/trunk/src/webapp/lenya/usecase.xmap
Modified: lenya/trunk/src/webapp/lenya/usecase.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/usecase.xmap?rev=327186&r1=327185&r2=327186&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecase.xmap (original)
+++ lenya/trunk/src/webapp/lenya/usecase.xmap Fri Oct 21 07:02:56 2005
@@ -187,6 +187,11 @@
<map:serialize type="xml"/>
</map:when>
<map:otherwise> <!-- GET: Open -->
+ <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:generate src="pubs/{1}/content/{2}/{page-envelope:document-path}"/>
<map:serialize type="xml"/>
</map:otherwise>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org