When I first started using CakePHP a few years ago, we had a lot of complaints about speed. If you do some Google searches comparing CakePHP to other frameworks, it seems to be near the bottom of the pack. I previously wrote a few articles on optimizing CakePHP here:
- Optimizing CakePHP Websites
- Caching Queries in CakePHP
- Optimize your CSS and JS with CakePHP in minutes
Implementing the following tips certainly helped; however, if there are issues with the core framework response time, no amount of optimization will truley help. So after reading up on CakePHP 2.0 and it's recent speed improvements, I wanted to do some straight CakePHP comparisons. Below are 10 load times for CakePHP 1.2, 1.3, and the new 2.0. These load times are of a brand new install simply loading the default home view, no database connection or any model loading.
As you can see, between CakePHP 1.2 and 1.3 there were some significant speed improvements. Almost every request was below 0.1 seconds where 1.2 only had only one request below 0.1!
So far, there doesn't seem to be much of an improvement between 1.3 and 2.0, but there is still time. Keep up the good work CakePHP dev team! Published on Mar 7, 2011 Tags: CakePHP Tutorial
| Optimization
Did you enjoy this article? If you did here are some more articles that I thought you will enjoy as they are very similar to the article
that you just finished reading.
No matter the programming language you're looking to learn, I've hopefully compiled an incredible set of tutorials for you to learn; whether you are beginner
or an expert, there is something for everyone to learn. Each topic I go in-depth and provide many examples throughout. I can't wait for you to dig in
and improve your skillset with any of the tutorials below.
Cake 1.2
Average: 0.11263s
Cake 1.3
Average: 0.08287s
Cake 2.0
Average: 0.08102s
Related Posts
Tutorials
Learn how to code in HTML, CSS, JavaScript, Python, Ruby, PHP, Java, C#, SQL, and more.