Re: Implementing URLTemplateLoader and Template Caching
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Friday, April 4, 2008, 10:35:47 PM, jaybytez wrote: > If I implement URLTemplateLoader for a custom template loader that I use > through the Configuration .setTemplateLoader, does Template Caching still > occur? Yes. > It appears that as I run a test of like 8 calls through my > Configuration getTemplate, I see the the call strace going into my custom > URLTemplateLoader each time on each invocation, should it do that if the > caching exists? It depends what method of it is called. For example if the update delay is 0, then it will always re-check if the file was changed, which of course requires calling the TemplateLoader. > Thanks for your help - jay -- Best regards, Daniel Dekany ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace