Closed anjey-lobas closed 10 years ago
Are you sure? The tags folder name is {prefix}-tags
but the glob pattern is {prefix}--*
so the glob pattern should already ensure that the tags folder is left untouched.
Apologies
Probably I do have outdated version here.
_Cheers ;-)___ Anjey Lobas_ _Chief Technology Officer at _Goodahead Ltd.
Office: * +380.352.52.84.48 Cell: * +380.98.233.55.63 Skype:. \ anjey-aka-pm
On Tue, Feb 25, 2014 at 5:32 PM, Colin Mollenhour notifications@github.comwrote:
Are you sure? The tags folder name is {prefix}-tags but the glob pattern is {prefix}--* so the glob pattern should already ensure that the tags folder is left untouched.
Reply to this email directly or view it on GitHubhttps://github.com/colinmollenhour/Cm_Cache_Backend_File/issues/16#issuecomment-36019516 .
Due to implementation of _clean method directory traversing it will traverse tags folder as well as regular cache folders.
When it will go down to tags folder it will wipe out all tag files from that folder, while keeping actual cache records related to those tags.
This will render tagged cache clearing unusable for those records that survived after clean('old') was called.