C. Chad Wallace wrote:
> It seems to me that setting CACHE_SIZE => 0 would be a good idea under
> CGI 

Careful though.  You might be re-using one or more library templates which
would then end up being re-compiled each time.  e.g.

    [% PROCESS menu/item         # <-- this gets used lots
          FOREACH item IN menu
    %]

The COMPILE_XXX options will definitely help with CGI scripts. But I'd
suggest leaving CACHE_SIZE unchanged unless you're running a persistent
mod_perl process and want to keep memory usage in check.

Cheers
A

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to