title | issue | author | author_email | author_github |
---|---|---|---|---|
Optimize initial state id loading |
NEXT-20687 |
Oliver Skroblin |
o.skroblin@shopware.com |
OliverSkroblin |
- 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.