Review main Abandoned

68916[TASK] Don't concatenate ext_localconf / ext_tables to cache

Christian Kuhn CR 0 V 0 Hard +13 −444 updated 04/29/21, 17:48

Commit message

Every TYPO3 dev knows about this:
All ext_localconf.php and ext_tables.php files of loaded
extensions are compiled into one cache file that is
loaded instead of the single files.

Back in the dark ages, this was a performance measure
to suppress disk I/O calls for those poor souls that
didn't run some opcode cache.

Nowadays opcache is everywhere and any person capable of
thinking and breathing at the same time doesn't disable
it artifically for performance reasons.

This leads to the funny situation that those compiled
files are a burden and not of any help: They eat opcache
memory while the single files are usually opcache'd too,
and disk I/O doesn't happen anyways.

The patch throws the compilation step away: It has no
positive performance impact anymore.

This gives a series of additional positive aspects:
* devs need to delete main core cache less often
* bootstrap is simplified
* strict_types=1 and use statements are possible

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 6