you should make a ticket against the documentation to include the tmp folder layout as a 'required' thing that really should exist
On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > CakePHP is slow! Well not really... Cake is fine, but I'm a bit slow > some times. I have seen several people complain about cake speeds, but > I have never experienced a problem... Till now. Some of them/you may > have had a bad directory structure. If you are missing the sub folders > in the app/tmp folder, you will suffer from really slow page requests. > > So if your cake app seems really slow, make sure you have the > following directories: > app/tmp/cache > app/tmp/sessions > app/tmp/logs > app/tmp/tests > > I wonder if anyone has submitted a ticket for this yet? > > Following is the unabridged version: > > I set up a new site by copying the app folder from another project. I > did not copy the tmp folder, since I knew it would contain dozens of > extra files. I manually created the tmp folder but neglected to create > the necessary sub folders. > > I then set about baking some files and creating some new layouts. When > I tried out the app a couple days later, it was slow. Really SLOW! > Even simple page loads that didn't access the database would take > 3 > seconds. > > So I started tearing everything down... removing components and > helpers and elements... Nothing helped. Then I did what I should have > done to begin with; I baked a whole new project (I love the new bake > console in 1.2.0.5xxx). I then moved my files over one at a time. I > had everything copied and my load time was still < 0.15. So I used win > merge to compare the two app directories and the I saw the missing tmp > folders in the old app folder. Like I said, I'm a bit slow some times. > > The moral of the story: > Always bake your cake! > > > > > -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
