View Issue Details

IDProjectCategoryView StatusLast Update
0006246OXID eShop (all versions)1. ----- eShop frontend -----public2015-11-26 14:22
Status acknowledgedResolutionopen 
Product Version4.9.5 / 5.2.5 
Target VersionFixed in Version 
Summary0006246: Cache oxmultilang in Smarty!
DescriptionThe usage of [{ oxmultilang ident="..." }] in [{foreach ...}] is a really big performance-eater. -> Especially in not cachable article-lists if you use attribute-filters.

And thats because oxmultilang is not chached!

If you have for example 360-600x [{oxmultilang}] in a big article-list, they will make 10-15% of the whole execution time. If you cache oxmultilang, the rendering time of such lists would increase dramatically.
Steps To ReproduceEnable the debugger in
Go to a catagorylist with 100 articles. Choose gallery-view and 100 articles per page.

The debugger will show, that smarty_function_oxmultilang is the biggest performance-eater.
TagsPerformance, Smarty
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined



2015-10-16 10:27

reporter   ~0011260

Last edited: 2015-10-16 10:28

View 2 revisions

Although the oxLang-Object has a caching-method, the smarty_function_oxmultilang-function isn't performant. There is too much object-data used on each execution of this function.