[TYPO3-project-4-3] FileCache

Steffen Kamper info at sk-typo3.de
Sun Mar 15 17:02:23 CET 2009


Hi,

Ingo Renner schrieb:
> Steffen Kamper wrote:
> 
>> One thing i don't understand, or may be a bug:
>> Clear all cache clears the data directory, but not the tags-directory.
> 
> that's very likely a bug.
> 

yes, and i found the reason (in function flush).

$tagsPath = $this->cacheDirectory . 'tags/' . 
$this->cache->getIdentifier() . '/';

where $this->cache->getIdentifier() is eg cache_hash. And there is no 
such directory in tags.

So correct one should be
$tagsPath = $this->cacheDirectory . 'tags/';

to empty complete tags-directory.

vg Steffen


More information about the TYPO3-project-4-3 mailing list