Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-10-30
Due date:
% Done:

0%

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

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

clearCache-changes.txt (2.15 KB) clearCache-changes.txt Administrator Admin, 2007-03-15 14:21
clearCache-full.txt (24 KB) clearCache-full.txt Administrator Admin, 2007-03-15 14:21

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17202: PHP error on closedir() in class.t3lib_tcemain.phpClosedMartin Kutschker2007-04-12

Actions
Actions #1

Updated by Michael Stucki about 18 years ago

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...

Actions #2

Updated by John Angel about 18 years ago

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.

Actions #3

Updated by Dmitry Dulepov over 17 years ago

I also feel that garbage should be removed.

Actions #4

Updated by Dmitry Dulepov over 17 years ago

Uploaded patch

Actions #5

Updated by Dmitry Dulepov almost 16 years ago

Not sure when but it is already resolved

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF