Hey guys,
I made a pre-parser for Jinja2. It parses a template directory
structure and save the resulting Python code. It is intended to be
used in App Engine, where we can't have bytecode cache. The templates
are loaded using a PythonLoader, avoiding all the template parsing.
Here's the preview:
http://paste.pocoo.org/show/124018/
The drawback is that you have to re-compile the template dir every
time before uploading to App Engine server. But this can be
automatized with a script, and if you're looking for some performance
improvement maybe it'll be worth.
Let me know what you think.
-- rodrigo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---