I've been digging into caching issues lately as I've seen a terrible
slow down recently. My problem was that I broke the file & dir caching
on my Windows machine by incorrectly loading a vendor file from
bootstrap.php. So even when debug = 0, it was still rebuilding the
cake_core_dir_map & cake_core_file_map files in the cache/persistent
folder. When that happens, every request forces Cake re-parse the
entire Cake core directory structure, *including* the fairly large /
tests folder, which I've seen take over 1 second on my slow IDE disk.

Anyways, I fixed my problem that I caused in bootstrap.php so now
caching is working fully as expected. I also moved the /tests and /
console directories out of the core when I don't need them so that
cake_core_dir_map & cake_core_file_map files rebuild much faster now
when debug > 0. That's a nice little performance boost I discovered
while tracking down my other issue. ;) I opened some tickets related
to these discoveries:

https://trac.cakephp.org/ticket/5276
https://trac.cakephp.org/ticket/5249
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to