Current implementation embeds the JS template into the HTML just after the rendered one, which can result in significant duplication of code if many of the same template are used.
Proposal: A Mage_Core_Model_Layout-level owner of the rendered components, which bundles and renders them as a group.
Decision: Is the component bundle best served embedded into the HTML of the page or as a separate, cacheable bundle? IE Component Cart, ProductGrid, ProductGridProduct --> (hashed url)
Current implementation embeds the JS template into the HTML just after the rendered one, which can result in significant duplication of code if many of the same template are used.
Proposal: A
Mage_Core_Model_Layout
-level owner of the rendered components, which bundles and renders them as a group.Decision: Is the component bundle best served embedded into the HTML of the page or as a separate, cacheable bundle? IE Component
Cart
,ProductGrid
,ProductGridProduct
--> (hashed url)