Issue Bug Closed

#28589Autoloader Cache is not updated

Oliver Hader 07/30/11, 15:40 updated 10/02/18, 12:20

Description

The autoload registry contents are stored in a separated PHP level caching in TYPO3 4.6.
There are already several mechanisms to flush the cache, e.g. on installing a new extension.

However, during development (and also maybe during TYPO3 Source Updates) new classes in the registry files are not considered.

Now, there are several ways to solve that:
  • if we rely on the extension manager to flush the cache on updates, we just would need the cacheIdentifier contain e.g. the TYPO3 version number
  • if that does not help, we need a way to find out whether a registry file was modified (e.g. MD5 hash of that file)
  • if that all does not help or is too expensive, we could use a lifetime for those caches (of course does not help during development and patch reviewing)

Reviews 2