Project

General

Profile

Actions

Bug #90562

closed

Data stored in the SimpleFileBackend cache is never refreshed

Added by Michael Schams over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Dashboard
Target version:
-
Start date:
2020-02-28
Due date:
% Done:

100%

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

Description

Dashboards uses TYPO3's caching framework by default. More specifically, the \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend for the BE.

With this caching backend, the lifeTime value is not taken into account as far as I can see.

The to be cached data is written into the directory typo3temp/var/cache/data/dashboard_rss/ as files. These cache files don't get deleted/rewritten after the life time expired. Even if I run the Scheduler task "Caching framework garbage collection". I suspect that data (for example RSS feeds) that has been cached once, will be read from the file cache from that point on, and not refreshed after the expiration date/time has been reached/exceeded.

It'd be great if someone could verify/clarify if the SimpleFileBackend takes the life time into account at all or if a different caching backend should be used by EXT:dashboard by default.

Actions #1

Updated by Susanne Moog over 4 years ago

From the code comment:
"A caching backend which stores cache entries in files, but does not support or care about expiry times and tags." so no, it does not care about expiry and life times ;)

Actions #2

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/+/63485

Actions #3

Updated by Susanne Moog over 4 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF