Review main Abandoned

26634[TASK] Optimise cached ext_tables & ext_localconf

Michiel Roos CR 0 V 0 Normal +188 −34 updated 01/07/15, 07:58

Commit message

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 optimisations are:
* Eliminate 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
* 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)
* Resolve string concatenation: ' . ' and " . "
* Remove multiple consecutive newlines

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1