Bug #16675
closed
'Clear FE cache' doesn't clear 'typo3temp/cache_pages' directory
Added by John Angel about 18 years ago.
Updated about 6 years ago.
Description
When using in localconf.php:
$TYPO3_CONF_VARS['FE']['pageCacheToExternalFiles'] = TRUE;
'Clear FE cache' admin function doesn't clear cache files in 'typo3temp/cache_pages' directory, but only truncates 'cache_pages' table.
(issue imported from #M4447)
Files
Removing these files is not needed currently because the cache still resides in cache_pages of the database. Only the "HTML" field is stored on the disk.
So if you clear the cache, everything works like it should because the cache record is removed from the database. But there will remain some garbage in typo3temp/ which does not harm however. You just need to clear it up manually from time to time...
I am aware of all that.
I don't understand why should Typo3 leave garbage behind?
Almost every 24 hours it generates tons of new cache files and leaves previous ones on hard disk. They should be deleted automatically.
I also feel that garbage should be removed.
Not sure when but it is already resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF