Bug #90562
closedData stored in the SimpleFileBackend cache is never refreshed
100%
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.
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 ;)
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
Updated by Susanne Moog over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5257a1ccdb67379e1d00e7ac90e2818887eac31a.