{"id":2634,"date":"2016-01-17T13:26:56","date_gmt":"2016-01-17T12:26:56","guid":{"rendered":"http:\/\/blog.fh-kaernten.at\/wehr\/?p=2634"},"modified":"2016-01-17T13:26:56","modified_gmt":"2016-01-17T12:26:56","slug":"fix-slow-typo3-6-2-backend-with-installed-fluidcontent-extension","status":"publish","type":"post","link":"https:\/\/blog.fh-kaernten.at\/wehr\/2016\/01\/17\/fix-slow-typo3-6-2-backend-with-installed-fluidcontent-extension\/","title":{"rendered":"Fix slow Typo3 6.2 backend with installed fluidcontent extension"},"content":{"rendered":"<p id=\"top\" \/>We at <a href=\"https:\/\/www.fh-kaernten.at\/\" target=\"_blank\">CUAS<\/a> switched last year our main Homepage from Typo3 4.2 -&gt; 6.2.x. After stabilizing our content and going live we noticed a 3-5 second delay on every action taken on the Backend. I&#8217;ve enabled caching stuff, switched the caching to memcached and did all things to accelerate Typo3. But the 3-5 second delay keeps.<\/p>\n<p>Yeasterday I decided that a last effort should be made to determine the problem that leads to the delay. I set up PHP profiling on our live system an recorded some backend actions.<\/p>\n<p>According to the profile logs our delay problem happens in the &#8220;fluidcontent&#8221; extension (4.3.3) which builds up some wizard tab content. In this prozess fluidcontent also checks if some other extensions which are providing templates have some icons setup.<\/p>\n<p>The problem occurs in &#8220;\/fluidcontent\/Classes\/Service\/ConfigurationService.php&#8221;. There is a function &#8220;buildWizardTabItem&#8221; which is called thousend times generating Icons.<\/p>\n<p>My workaround to this behaviour is to disable &#8220;getIconForTemplate&#8221; and &#8220;createIcon&#8221; method call.<\/p>\n<p>Just add a &#8220;_&#8221; to the method test part.<\/p>\n<p>if (TRUE === method_exists(&#8216;FluidTYPO3\\\\Flux\\\\Utility\\\\MiscellaneousUtility&#8217;, &#8216;getIconForTemplate_&#8217;)) {<br \/>\nand<br \/>\nif (TRUE === method_exists(&#8216;FluidTYPO3\\\\Flux\\\\Utility\\\\MiscellaneousUtility&#8217;, &#8216;createIcon_&#8217;)) {<\/p>\n<p>This fixes our delay to &lt; 1s \ud83d\ude42 , the drawback is that you end with standard icons in the corresponding fluid modules.<\/p>\n<p>have a nice day \ud83d\ude42<\/p>\n<p>Mario<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We at CUAS switched last year our main Homepage from Typo3 4.2 -&gt; 6.2.x. After stabilizing our content and going live we noticed a 3-5 second delay on every action taken on the Backend. I&#8217;ve enabled caching stuff, switched the caching to memcached and did all things to accelerate Typo3. But the 3-5 second delay &hellip; <a href=\"https:\/\/blog.fh-kaernten.at\/wehr\/2016\/01\/17\/fix-slow-typo3-6-2-backend-with-installed-fluidcontent-extension\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fix slow Typo3 6.2 backend with installed fluidcontent extension<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2634","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/posts\/2634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/comments?post=2634"}],"version-history":[{"count":0,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/posts\/2634\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/media?parent=2634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/categories?post=2634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/tags?post=2634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}