Actions
Task #54734
closedEpic #55070: Workpackages
Epic #55065: WP: Overall System Performance (Backend and Frontend)
Story #55078: Optimize PHP code performance in TYPO3 methods
Optimize ext_tables and ext_localconf cache files
Start date:
2014-01-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:
Description
The cache_core files ext_tables_[ident].php and ext_localconf_[ident].php are read for each frontend and backend request. So it makes sense to optimise them where possible.
The easy optimisations are:- Reduce calls to defined // if (!defined('TYPO3_MODE')
- Resolve extPath once for each extension when generating cache files
- Resolve extRelPath once for each extension when generating cache files
- Resolve extPath once for each extension when generating cache files
- Replace $_EXTKEY with actual extensionKey string
- Only add the $_EXTCONF line if '$_EXTCONF' was found in the content
- Only add the loadNewTcaColumnsConfigFiles() line if the string 'TCA' was found in the content
- Reduce calls to addToAllTCAtypes() and friends. This may be hard because unlike string replacements, these calls may reside inside of if statements checking for versionCompat etc.
Files
Actions