Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 565 Bytes

2022-03-22-optimize-initial-state-id-loading.md

File metadata and controls

10 lines (10 loc) · 565 Bytes
title issue author author_email author_github
Optimize initial state id loading
NEXT-20687
Oliver Skroblin
o.skroblin@shopware.com
OliverSkroblin

Core

  • Deprecated \Shopware\Core\System\StateMachine\StateMachineRegistry::getInitialState, use \Shopware\Core\System\StateMachine\Loader\InitialStateIdLoader::get instead
  • Added twig cache in \Shopware\Core\Framework\Adapter\Twig\StringTemplateRenderer to avoid unnecessary template parsing for mail rendering and other templates. The cache key is built with the content of the provided template.