#2502 - Tempcode optimisation - optimised caching

Identifier #2502
Issue type Feature request or suggestion
Title Tempcode optimisation - optimised caching
Status Completed
Tags

Type: Performance (custom)

Handling member Chris Graham
Addon core
Description A powerful improvement would be an ability to do do_template calls in an 'optimise' mode. These calls would do a full template recompile each time, but as they know the exact parameters used then we could avoid storing the parameters within the Tempcode object separately, and have much simpler generated Tempcode. Things like IF directives on those parameters could be fully unrolled.

Blocks with caching enabled would enable optimise mode while the blocks are first generating.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated