You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2005/06/30 02:57:34 UTC

svn commit: r202461 - /portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/velocity.properties

Author: ate
Date: Wed Jun 29 17:57:34 2005
New Revision: 202461

URL: http://svn.apache.org/viewcvs?rev=202461&view=rev
Log:
Major improvement in Velocity speed by enabling template caching.
Note: there now is a 10 seconds delay for modificationCheckInterval.

Modified:
    portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/velocity.properties

Modified: portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/velocity.properties
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/velocity.properties?rev=202461&r1=202460&r2=202461&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/velocity.properties (original)
+++ portals/jetspeed-2/trunk/portal/src/webapp/WEB-INF/velocity.properties Wed Jun 29 17:57:34 2005
@@ -77,13 +77,17 @@
 # 
 # 
 #----------------------------------------------------------------------------
+resource.loader = webapp
+webapp.resource.loader.cache = true
+webapp.resource.loader.modificationCheckInterval = 10
+webapp.resource.loader.template.path = .
 
-template.loader.1.public.name = File
-template.loader.1.description = Velocity File Template Loader
-template.loader.1.class = org.apache.velocity.runtime.loader.FileTemplateLoader
-template.loader.1.template.path = .
-template.loader.1.cache = false
-template.loader.1.modificationCheckInterval = 2
+#template.loader.1.public.name = File
+#template.loader.1.description = Velocity File Template Loader
+#template.loader.1.class = org.apache.velocity.runtime.loader.FileTemplateLoader
+#template.loader.1.template.path = .
+#template.loader.1.cache = false
+#template.loader.1.modificationCheckInterval = 2
 
 velocimacro.library.autoreload = true
 velocimacro.permissions.allow.inline.to.replace.global = true



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org