[Erp5-report] r25287 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: PathTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 23 20:48:00 CET 2009


Author: jp
Date: Fri Jan 23 20:48:00 2009
New Revision: 25287

URL: http://svn.erp5.org?rev=25287&view=rev
Log:
Added default cache objects. A RAM cache for user dependent skins. An anonymous HTTP cache for parts in an ERP5 site which need to be cached and published to many anonymous readers. A global HTTP cache for all skin items which are user independent and should be cached in a front end proxy to reduce the number of request on Zope.

Added:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/anonymous_http_cache.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/http_cache.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/user_ram_cache.xml
Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_path_list

Added: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/anonymous_http_cache.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/anonymous_http_cache.xml?rev=25287&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/anonymous_http_cache.xml (added)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/anonymous_http_cache.xml [utf8] Fri Jan 23 20:48:00 2009
@@ -1,0 +1,48 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="AcceleratedHTTPCacheManager" module="Products.StandardCacheManagers.AcceleratedHTTPCacheManager"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_AcceleratedHTTPCacheManager__cacheid</string> </key>
+            <value> <string>140293738026600_1232739699.222134</string> </value>
+        </item>
+        <item>
+            <key> <string>_settings</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>anonymous_only</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
+                <item>
+                    <key> <string>interval</string> </key>
+                    <value> <int>3600</int> </value>
+                </item>
+                <item>
+                    <key> <string>notify_urls</string> </key>
+                    <value>
+                      <tuple/>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>anonymous_http_cache</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/http_cache.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/http_cache.xml?rev=25287&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/http_cache.xml (added)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/http_cache.xml [utf8] Fri Jan 23 20:48:00 2009
@@ -1,0 +1,48 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="AcceleratedHTTPCacheManager" module="Products.StandardCacheManagers.AcceleratedHTTPCacheManager"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_AcceleratedHTTPCacheManager__cacheid</string> </key>
+            <value> <string>140293585282304_1232739770.351467</string> </value>
+        </item>
+        <item>
+            <key> <string>_settings</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>anonymous_only</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
+                    <key> <string>interval</string> </key>
+                    <value> <int>3600</int> </value>
+                </item>
+                <item>
+                    <key> <string>notify_urls</string> </key>
+                    <value>
+                      <tuple/>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>http_cache</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/user_ram_cache.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/user_ram_cache.xml?rev=25287&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/user_ram_cache.xml (added)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/PathTemplateItem/user_ram_cache.xml [utf8] Fri Jan 23 20:48:00 2009
@@ -1,0 +1,55 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="RAMCacheManager" module="Products.StandardCacheManagers.RAMCacheManager"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_RAMCacheManager__cacheid</string> </key>
+            <value> <string>140571995811424_1232605080.630355</string> </value>
+        </item>
+        <item>
+            <key> <string>_settings</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>cleanup_interval</string> </key>
+                    <value> <int>300</int> </value>
+                </item>
+                <item>
+                    <key> <string>max_age</string> </key>
+                    <value> <int>3600</int> </value>
+                </item>
+                <item>
+                    <key> <string>request_vars</string> </key>
+                    <value>
+                      <tuple>
+                        <string>AUTHENTICATED_USER</string>
+                        <string>current_web_site_url</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>threshold</string> </key>
+                    <value> <int>1000</int> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>user_ram_cache</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_path_list
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_path_list?rev=25287&r1=25286&r2=25287&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_path_list [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_path_list [utf8] Fri Jan 23 20:48:00 2009
@@ -1,0 +1,3 @@
+anonymous_http_cache
+http_cache
+user_ram_cache




More information about the Erp5-report mailing list