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

Also available in: Atom PDF