velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Reck <Christoph.R...@dlr.de>
Subject Re: Template Cache Problem
Date Fri, 16 Feb 2001 07:51:28 GMT
"Geir Magnusson Jr." wrote:
> 
> I think I understand it.
> 
> resource.loader.1.modificationCheckInterval is currently in units of
> milliseconds, as far as I can tell.
> 
> Anyone care if :
> 
> 1) I switch it to seconds.  It will only break those dependent upon
> millisecond timing for template reloads :)

+1, second granularity for template reloads is fine.

> 
> 2) I make it so a value of 0 means never

+1, for a fully static environement, where once loaded no more 
filesystem hits are desireable.

> 
> I will document it too.
> 
> geir

I once also tested the caching and noticed no perf. difference, but 
since I was doing template development, no cachin was an advantage
thus I dod not trace it further...

:) Christoph

Mime
View raw message