Project

General

Profile

Actions

Feature #29887

open

Implementing lilio_cachetags functionality in Core

Added by Mathias Bolt Lesniak about 13 years ago. Updated about 5 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2011-09-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

Hi!

I recently released the extension "Easy Cache Tags" (lilio_cachetags), as an easy way of connecting cache tags to cache instances (and clearing cache based on the same) using TypoScript. On the English mailing list, it has been suggested (by Kay Strobach) that I suggest that the extension's functionality is considered taken into the Core. Not a bad idea, I think, as it solves a fairly widespread caching issue.

What do you think? The extension is still missing some features (like a solution for adding cache tags in the Backend), but it could maybe make it into 4.7...

Keep up the good work! :-D

http://typo3.org/extensions/repository/view/lilio_cachetags/current/

Actions #1

Updated by Steffen Ritter over 12 years ago

  • Target version deleted (4.7.0)
Actions #2

Updated by Wouter Wolters almost 10 years ago

  • Status changed from New to Needs Feedback

Hi,

as this issue is very old. Is this feature missing in newer versions of TYPO3 CMS (6.2.9)?

Actions #3

Updated by Mathias Bolt Lesniak almost 10 years ago

Wouter Wolters wrote:

as this issue is very old. Is this feature missing in newer versions of TYPO3 CMS (6.2.9)?

As far as I am aware, the complete feature is still missing.

TYPO3 4.7 introduced the parameters cache and addPageCacheTags into stdWrap. This feature covers parts of what lilio_cachetags does, but is far from complete:

  • stdWrap's addPageCacheTags is a comma separated list, whilst lilio_cachetags uses an array to create cache tags. In case of multiple tags, an array is easier to modify and more protected from accidental overwrites.
  • lilio_cachetags enables you to clear the cache for specific cache tags through TypoScript.

- Mathias

Actions #4

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to New
Actions #5

Updated by Mathias Bolt Lesniak about 5 years ago

Here's an update of what's still missing and what's implemented in the core thus far.

The entire functionality of the CACHETAGS cObject is now in the core.
https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Functions/Cache.html

The CLEARCACHETAGS cObject functionality (i.e. to be able to clear the cache for certain tags) is still missing.
Some of the functionality can be implemented through TCEMAIN in the backend, but it is limited to hard-coded tags. I.e. you cannot clear blah_123 where 123 is the UID of the record changed.
https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/TceMain.html#clearcachecmd

The manual's "Why is this needed" section gives a good example of why clearing the cache based on a dynamic cache tag could be useful. https://docs.typo3.org/typo3cms/extensions/lilio_cachetags/0.0.1/Manual/Index.html#why-is-it-needed

Actions

Also available in: Atom PDF