Project

General

Profile

Actions

Task #89280

closed

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 4 years ago. Updated about 4 years 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 1 (0 open1 closed)

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
Actions #1

Updated by Gerrit Code Review over 4 years 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

Actions #2

Updated by Gerrit Code Review over 4 years 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

Actions #3

Updated by Benjamin Franzke over 4 years ago

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

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Georg Ringer almost 4 years ago

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

Also available in: Atom PDF