Parsed Genshi templates should be cached
Bug #527499 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IVLE |
Fix Released
|
High
|
William Grant |
Bug Description
XHTMLView.render currently constructs a new Genshi TemplateLoader for every view rendering. This means that the cache is obliterated at the end of each request, so the template must be expensively reparsed each time. We should preserve the TemplateLoader across requests.
Related branches
Changed in ivle: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've elected to leave auto_reload=True, since stat'ing the file on disk is a trivial performance degradation.