View Issue Details

IDProjectCategoryView StatusLast Update
0006246OXID eShop (all versions)1. ----- eShop frontend -----public2023-11-15 14:58
ReporterJaroslavHerber Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version4.9.5 / 5.2.5 
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 config.inc.php.
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

Activities

JaroslavHerber

2015-10-16 10:27

reporter   ~0011260

Last edited: 2015-10-16 10:28

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.

SvenBrunk

2023-11-15 14:58

administrator   ~0015739

1) Smarty is no longer supported
2) We will approach this from the other side-> There will be a new cache infrastructure (currently already in development) and we will look from the performance side where the most performance can be gained and in what way