On 4 May 2013 00:50, Mike Orr <[email protected]> wrote: > Also, is there a way to make Chameleon put its compiled templates in a > different directory from the source? On my server the source directory will > be read-only at runtime. Or is there a command to precompile all templates > in one step?
The CHAMELEON_CACHE environment variable allows you to specify a directory for compiled files. This is pretty useful during development where you typically can't tolerate a non-trivial warmup. Chameleon's pretty fast at rendering templates, but it's definitely on the slow to very slow side in parsing and compiling them. \malthe -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
