Issue Task Closed

#89280TypoScript Template Constant Editor flushes to many caches, results in slow frontend responses due to DI rebuild

Benjamin Franzke 09/25/19, 21:26 updated 12/23/19, 22:42

Description

Reported by Simon Schaufelberger via Slack channel #psr11-initiative:

Sunday, August 4th 3:21 pm

The problem also is that the DI cache gets flushed way too often.
I just saved a typoscript constant in the template module and the whole cache was empty again afterwards.
Wondering why the DI cache needs to get flushed in such a case

The reason is the usage of clear_cacheCmd(‘all’) which flushes all core caches like ext_localconf and DI cache.
Also opcache is flushed. These caches are unaffected by TypoScript Template change.s

Reviews 1