resource.manager.defaultcache.size of 89 - any reason why?

2009-05-11 Thread Matt Brown
When resource caching is enabled in Velocity, and the default cache (ResourceCacheImpl) is used, the default size of the LRU cache used (if not otherwise set) is 89. Just curious - anyone know how/why the value of 89 was chosen? Thanks

Re: a problem to load a template in the same jar

2009-05-11 Thread Nathan Bubna
If you are keeping your template in a jar, then you should use the ClasspathResourceLoader or the JarResourceLoader. On Thu, May 7, 2009 at 8:37 AM, liumin HU l...@sigems.fr wrote: hi, I have a problem to load a template.my situations is: I have a jar used in a wep app. In one method, It use

Re: resource.manager.defaultcache.size of 89 - any reason why?

2009-05-11 Thread Nathan Bubna
I wasn't around for that, but i always imagined it was arbitrary. It's really the kind of thing that you should tune yourself, but some value was needed as the default. On Mon, May 11, 2009 at 12:50 PM, Matt Brown matt.br...@citrixonline.com wrote: When resource caching is enabled in Velocity,