Integrate Jinja2 branch — at Version 9
|Reported by:||Christian Boos||Owned by:||Christian Boos|
|Severity:||critical||Keywords:||jinja2 performance +testing|
The template engine used by Trac is now Jinja2. Genshi templates rendering in plugins will be supported until Trac 1.5.1.
Major changes in
See details in TracDev/ReleaseNotes/1.3#Developer-visiblechanges.
The work on the switch to the Jinja2 engine is mostly complete on the experimental branch cboos.git@jinja2.
Like explained in TracDev/Proposals/Jinja, this change will adequately solve the performance issues we had with Genshi: pages render from 3x to 10x faster, at a fraction of the cost in memory.
This ticket is about the finalization and review, and the merge of the changes on trunk.
Besides the merge and catching up with the changes that happened on trunk since the merge-base (r14499), the main open points are:
- get rid of the j* prefix used for the Jinja2 pages and find another mechanism to support both Jinja2 templates and legacy Genshi templates
- test l10n for template pages in plugins (no domain directive)