support caching of compiled Template Toolkit templates
Bug #1449709 reported by
Galen Charlton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Template Toolkit supports caching compiled templates on disk -- and testing shows that enabling this can result in a roughly 15% decrease in the time it takes an Apache backend to load a template for the first time.
For example:
time curl http://
--
without caching compiled templates: ~3.6 seconds
using compiled template caching: ~3.0 seconds
A patch is forthcoming that will allow enable caching of compiled templates.
Evergreen master
Changed in evergreen: | |
importance: | Undecided → Wishlist |
tags: | added: performance tpac |
summary: |
- support caching of compiles Template Toolkit templates + support caching of compiled Template Toolkit templates |
Changed in evergreen: | |
assignee: | nobody → Josh Stompro (u-launchpad-stompro-org) |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Changed in evergreen: | |
milestone: | none → 2.9-alpha |
Changed in evergreen: | |
milestone: | 2.9-alpha → 2.9-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A patch is available in the user/gmcharlt/ lp1449709_ cache_compiled_ templates branch of the Evergreen working repository:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ gmcharlt/ lp1449709_ cache_compiled_ templates