#88717Rework TSFE dependencies
Description
TSFE has too many dependencies. In TYPO3 v9 this was necessary with middlewares to be as “non-breaking” as possible. For TYPO3 v10, this should be re-ordered.
TSFE should get proper dependencies injected.
Anything that is not seriously related to TSFE should be handled BEFORE TSFE is instantiated in the frontend request workflow.