Author: cmailleux
Date: Fri Jul 20 12:49:38 2007
New Revision: 405

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D405&repname=
=3Desi_server
Log:
Changes to esi default behavior

You must run ESI without aspectwerkz so be sure to start with jahia.sh or j=
ahia.bat ESI_MODE must not be equals to ON

The Jboss cache instance for ESI is now configured in esi-local-cache.xml e=
vent if youa are in cluster this wil not cause any problem as there is no m=
ore invalidation messages send because of trackback parts in cache being em=
pty from the non activation of aspectwerkz (the esi-cluster-cache.xml will =
be used later when we will find a solution to make it worked)

In ESI server the data.xml is now back to not caching edit/preview/compare =
mode (defined in passthrough rules)

So now the expiration of content will only happen from expiration time by d=
efault I put the expiration to 300s (5 minutes) this could be easily change=
d in jahia.properties or jahia.skeleton

Modified:
    trunk/WEB-INF/config/data.xml

Modified: trunk/WEB-INF/config/data.xml
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/WEB-INF/config/=
data.xml&rev=3D405&repname=3Desi_server
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/WEB-INF/config/data.xml (original)
+++ trunk/WEB-INF/config/data.xml Fri Jul 20 12:49:38 2007
@@ -143,8 +143,12 @@
         nor will it be parsed for ESI tags for the matching requests : -->
         <default-passthrough-rules>
             <!-- activate passthrough for pages in EDIT mode -->
-            <!--passthrough-rule className=3D"net.sf.j2ep.rules.UrlRule" t=
ype=3D"SUBSTRING"
-                                  url=3D"/op/edit/" description=3D"EDIT mo=
de passthrough"/-->
+            <passthrough-rule className=3D"net.sf.j2ep.rules.UrlRule" type=
=3D"SUBSTRING"
+                                  url=3D"/op/edit/" description=3D"EDIT mo=
de passthrough"/>
+            <passthrough-rule className=3D"net.sf.j2ep.rules.UrlRule" type=
=3D"SUBSTRING"
+                                  url=3D"/op/preview/" description=3D"Prev=
iew mode passthrough"/>
+            <passthrough-rule className=3D"net.sf.j2ep.rules.UrlRule" type=
=3D"SUBSTRING"
+                                  url=3D"/op/compare/" description=3D"Comp=
are mode passthrough"/>
             <!-- activate passthrough for files already compressed -->
             <passthrough-rule className=3D"net.sf.j2ep.rules.UrlRule"
                               type=3D"SUBSTRING"

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to