Feature #20717
closedStore separate extlist for the frontend
0%
Description
If you have a lot of extensions loaded your frontend and backend becomes slower and slower.
In order to at least reduce the load a bit we introduce a new parameter to the EM_CONF called "doNotLoadInFE".
If set to "1" this extension will not be included in the extlist to be loaded in the frontend.
This also affects the temp_cached_* files in typo3conf which will also be newly created.
(issue imported from #M11474)
Files
Updated by Rupert Germann over 15 years ago
I added v2 of the patch which fixes the following problems:
1. if "extList_FE" is not yet set in localconf.php the extmgm falls back to the standard "extList"
2. Now the temp_CACHED_FE... will be deleted when the temp_CACHED.. files are deleted.
Updated by Rupert Germann over 15 years ago
Some benchmarks:
My server is a standard installation with only a few FE extensions enabled.
siege -c 15 -i -b -t 2M -f urls43_perf.txt
4.3 current trunk
-----------------------------------------------------------
Transactions: 31626 hits
Availability: 100.00 %
Elapsed time: 119.79 secs
Data transferred: 780.77 MB
Response time: 0.06 secs
Transaction rate: 264.01 trans/sec
Throughput: 6.52 MB/sec
Concurrency: 14.96
Successful transactions: 31626
Failed transactions: 0
Longest transaction: 0.52
Shortest transaction: 0.00
with patch 11474
-----------------------------------------------------
Transactions: 33495 hits
Availability: 100.00 %
Elapsed time: 119.65 secs
Data transferred: 827.24 MB
Response time: 0.05 secs
Transaction rate: 279.94 trans/sec
Throughput: 6.91 MB/sec
Concurrency: 14.97
Successful transactions: 33495
Failed transactions: 0
Longest transaction: 0.49
Shortest transaction: 0.00
trunk = 100%
patched = 106%
filesizes:
--------------------------------------------
trunk:
temp_CACHED...ext_tables.php 80 KB
temp_CACHED...ext_localconf.php 62 KB
patched:
temp_CACHED...ext_tables.php 45 KB
temp_CACHED...ext_localconf.php 48 KB
extlist in localconf.php:
$TYPO3_CONF_VARS['EXT']['extList'] = 'css_styled_content,tsconfig_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,
tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,
lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,
phpmyadmin,automaketemplate,cc_debug,t3skin,tt_news,t3editor,recycler,about,cshmanual,opendocs,
felogin,indexed_search,devlog,context_help';
additional FE extlist after patch:
$TYPO3_CONF_VARS['EXT']['extList_FE'] = 'css_styled_content,rtehtmlarea,phpmyadmin,automaketemplate,cc_debug,tt_news,felogin,indexed_search,devlog';
Updated by Rupert Germann over 15 years ago
Conclusion:
---------------------------------------
Even when testing this patch with only a few extensions I had a performance gain of 6%. When there are more extensions on the server which can be excluded from being loaded in FE the performance improvement will be even bigger.