Issue Bug Closed

#90562Data stored in the SimpleFileBackend cache is never refreshed

Michael Schams 02/27/20, 23:10 updated 04/01/20, 21:14

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.

Reviews 1