Task #89280

Epic #83968: PSR-11 Initiative

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

Added by Benjamin Franzke over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
TypoScript
Start date:
2019-09-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

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


Related issues

Related to TYPO3 Core - Feature #63011: Implement "clear cache of page and all sub pages" by correct tagging, use in template moduleClosed2014-11-16

Actions
#1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61834

#2

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61834

#3

Updated by Benjamin Franzke over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#4

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
#5

Updated by Georg Ringer about 1 year ago

  • Related to Feature #63011: Implement "clear cache of page and all sub pages" by correct tagging, use in template module added

Also available in: Atom PDF