You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2005/12/22 22:34:14 UTC

svn commit: r358640 - /incubator/roller/trunk/web/WEB-INF/classes/roller.properties

Author: agilliland
Date: Thu Dec 22 13:34:13 2005
New Revision: 358640

URL: http://svn.apache.org/viewcvs?rev=358640&view=rev
Log:
updated caching properties.


Modified:
    incubator/roller/trunk/web/WEB-INF/classes/roller.properties

Modified: incubator/roller/trunk/web/WEB-INF/classes/roller.properties
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/roller.properties?rev=358640&r1=358639&r2=358640&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/roller.properties (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/roller.properties Thu Dec 22 13:34:13 2005
@@ -63,8 +63,17 @@
 # Remember ... times are in seconds
 # Default settings suitable for 100 user system
 
+# Cache properties all follow the given format ...
+#     cache.<cache_id>.<prop>=<value>
+# we then pass all <prop>=<value> pairs into the cache manager when the cache
+# is being constructed.  this makes it easy to add cache properties that can
+# be used by the specified CacheFactory you are using.
+#
+# NOTE: it is expected that property validation happens in the CacheFactory
+#-----------------------------------
+
 # The default cache implementation we want to use
-cache.factory.classname=org.roller.presentation.cache.ExpiringLRUCacheFactoryImpl
+cache.defaultFactory=org.roller.presentation.cache.ExpiringLRUCacheFactoryImpl
 cache.customHandlers=
 
 # Main/Planet page cache (this is low on purpose)
@@ -73,7 +82,6 @@
 # set "true" to NOT cache the custom pages for users who are logged in
 cache.mainpage.excludeOwnerEditPages=false
 
-
 # Weblog page cache (all the weblog content)
 cache.weblogpage.size=400
 cache.weblogpage.timeout=3600
@@ -82,9 +90,8 @@
 
 # Weblog page last-modified-date cache 
 # you want this fairly high, like weblogs * 10, with long timeouts
-cache.weblogpage.ifmodified.size=1000
-cache.weblogpage.ifmodified.timeout=14400
-
+cache.ifmodified.weblogpage.size=1000
+cache.ifmodified.weblogpage.timeout=14400
 
 # Feed cache (xml feeds like rss, atom, etc)
 cache.feed.size=200
@@ -92,9 +99,8 @@
 
 # Feed last-modified-date cache
 # you want a reasonable size, like weblogs * 2, with long timeouts
-cache.feed.ifmodified.size=200
-cache.feed.ifmodified.timeout=14400
-
+cache.ifmodified.feed.size=200
+cache.ifmodified.feed.timeout=14400
 
 # Planet cache (planet page and rss feed)
 cache.planet.size=10