[Catalyst] template toolkit caching

Nilson Santos Figueiredo Junior acid06 at gmail.com
Fri Jun 1 03:59:43 GMT 2007


On 5/31/07, Perrin Harkins <perrin at elem.com> wrote:
> The second step is loading that perl code and compiling it to a sub in
> memory.  That happens once per process and no external cache can help
> with it, since it's compiled perl code in memory.

Well, if you're feeling risky and think that it might be worth it, you
could try using something like B::Bytecode to precompile the code. I
have no idea how well would that play with Catalyst, but the last time
I checked (precompiling svk to make it load faster) it was quite
usable.

-Nilson Santos F. Jr.



More information about the Catalyst mailing list