Bug #20863

TCEmain clears cache inefficiently

Added by Ingo Renner over 11 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Caching
Target version:
-
Start date:
2009-08-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In TCEmain::clear_cache() the cache for certain page IDs gets cleared through a foreach loop calling flushByTag. Instead of the many calls to flushByTag() single calls to flushByTags() should be made.

(issue imported from #M11689)


Related issues

Related to TYPO3 Core - Bug #21017: Use separate tables for tags in the caching frameworkClosedOliver Hader2009-09-08

Actions
#1

Updated by Christian Kuhn almost 10 years ago

TODO:
The flushByTags() method is a v4 method which is not implemented in FLOW3.
I have a bug in mind that the different backends react differently on flushByTags(): Some of them clear an entry if it is tagged with one of the tags, some others clear an entry if it is tagged with any of the tags. This needs to be sorted out and fixed before the above issue is tackled.

#2

Updated by Christian Kuhn almost 8 years ago

  • Status changed from Accepted to Resolved
  • Target version deleted (-1)

Resolved, won't fix: Meanwhile, the flushByTags() method was removed from cf API.

#3

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF