Author: mickw
Date: 2006-04-25 13:47:25 +0200 (Tue, 25 Apr 2006)
New Revision: 2795
Modified:
branches/2.0/src/java/no/schibstedsok/front/searchportal/velocity/VelocityEngineFactory.java
Log:
increase velocity template cache time.
Modified:
branches/2.0/src/java/no/schibstedsok/front/searchportal/velocity/VelocityEngineFactory.java
===================================================================
---
branches/2.0/src/java/no/schibstedsok/front/searchportal/velocity/VelocityEngineFactory.java
2006-04-25 11:43:54 UTC (rev 2794)
+++
branches/2.0/src/java/no/schibstedsok/front/searchportal/velocity/VelocityEngineFactory.java
2006-04-25 11:47:25 UTC (rev 2795)
@@ -82,7 +82,7 @@
engine.setProperty(Velocity.RESOURCE_LOADER, "url");
engine.setProperty("url.resource.loader.class",
"no.schibstedsok.front.searchportal.velocity.URLVelocityTemplateLoader");
engine.setProperty("url.resource.loader.cache", "true");
-
engine.setProperty("url.resource.loader.modificationCheckInterval", "60"); // 1
minute update cycle.
+
engine.setProperty("url.resource.loader.modificationCheckInterval", "300"); //
5 minute update cycle.
engine.setProperty("velocimacro.library", site.getTemplateDir() +
"/VM_global_library.vm");
engine.setProperty(Site.NAME_KEY, site);
engine.setProperty("site.fallback", Site.DEFAULT);
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits