https://github.com/cakephp/cakephp/blob/2.3.0/app/Config/bootstrap.php#L99
also note that APC memory is not shared between PHP CLI and Apache mod_php (it is shared when php-fpm is used).
i.e. you cannot clear APC cache created by Apache from Cake console or vice versa.
On Wednesday, February 27, 2013 9:42:59 AM UTC+1, LDSign wrote:
Hi--
Related to my post below I have switched from File to APC Cache. Read and write commands to the APC-Cache work like expected. But when I use clear() and clearGroup() nothing happens.
I have digged a little deeper and put some debug info in the related FileEngine.php and ApcEngine.php. Result: The functions (clear & clearGroup) in ApcEngine.php are never used - instead the ones of the FileEngine.php are used. Its clear, that this does not work.
Is this a bug?
Ive debugged the $engine-variable in core.php. It is "Apc" like it should - "File" isn't used at all anymore in my app.
Thanks,
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment