Layout Caching Coupled to Handler Caching

Description

In both the 4.3 and 5.0 version, layout caching is directly coupled to handler caching:

https://github.com/ColdBox/coldbox-platform/blob/development/system/web/Renderer.cfc#L523
https://github.com/ColdBox/coldbox-platform/blob/development/system/web/Renderer.cfc#L523

This prevents the dynamic includes of any page-level assets in the header or footer of the layout and.

As handler caching is a desired performance setting for production use, the suggestion is remove layout caching entirely and allow the view caching arguments to determine the cached content, rather than implementing a new setting. With view caching arguments implemented in layout includes, the impact on performance would be negligible.

Fixed

Assignee

Luis Majano

Reporter

Jon Clausen

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure