Re: CacheEngine and garbage collection

2015-02-19 Thread Domingos Coelho
In the book is written the following: ...used to do clean up *when resources expire*. FileEngine uses this to *delete files containing expired content*. ( http://book.cakephp.org/2.0/en/core-libraries/caching.html#CacheEngine::gc ) If the content is not expired, the file stay in the cache Em

Re: CacheEngine and garbage collection

2015-02-19 Thread LDSign
Yes, of course, I know ;) Ive figured it out already,,, 'prefix' = false was the little wrongdoer http://dict.leo.org/#/search=wrongdoersearchLoc=0resultOrder=basicmultiwordShowSingle=on. Shame on me ;) Am Donnerstag, 19. Februar 2015 15:36:21 UTC+1 schrieb Domingos Coelho: In the book is

CacheEngine and garbage collection

2015-02-17 Thread LDSign
Hi Ive set up a cache config as follow: Cache::config('file', array( 'engine' = 'File', 'prefix' = false, 'duration' = '+10 minutes', 'path' = CACHE . 'files' . DS, )); After writing to this cache config I call Cache::gc('file'); But this does...nothing :( The files stay in the cache. Am I