Yes, of course, I know ;)
-- Ive figured it out already,,,
"'prefix' => false" was the little wrongdoer. Shame on me ;)
Am Donnerstag, 19. Februar 2015 15:36:21 UTC+1 schrieb Domingos Coelho:
Am Donnerstag, 19. Februar 2015 15:36:21 UTC+1 schrieb 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 quarta-feira, 18 de fevereiro de 2015 02:47:29 UTC-4, LDSign escreveu:HiIve 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 callCache::gc('file');But this does...nothing :( The files stay in the cache.Am I missing someting or why does this not work?Its Cake 2.6.1Thanks,Frank
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment