CakePHP is great, but the default installation has a performance issue that is very easy to resolve, and should be fixed in any production installation of a CakePHP application. The solution is very simple.
In the default install, there is a file in the webroot called .htaccess. It contains mod_rewrite rules, and you have to set you vhost up to allow overrides. This introduces a significant overhead to each request, as apache has to search for applicable htaccess files and merge their settings into the core apache config every request. On a production application this can become significant, especially if you get a significant amount of traffic.
Read more »
I’ve tried the Hacker’s Diet once before in the past, and did fairly well, but eventually lost motivation and just stopped. But this year, my employer has offered us what amounts to a free gym membership, and I took the extra step of paying for a trainer. So I’m taking the opportunity to start the Hacker’s Diet back up, and to get deadly serious about getting in better health.
I’m going to the gym 3 times a week, for at least 30 minutes each time. I’m also participating in a bowling league weekly (more exercise than you might think… it makes me break a sweat in a hurry), and once the weather improves, I’ll be golfing at least 9 holes a week (walking and carrying clubs). That plus the great weight tracking provided by the Hacker’s Diet tools has already started to make a big difference in my health. I’m feeling more energetic, and I’ve lost several pounds in the last month.
I’ve added a little weight tracking badge to the sidebar here, and I’ll be posting update regularly to my twitter feed. I want all my friends to hold me accountable on this. Ask me how I’m doing. Chew me out if I start to slip and climb back up in weight. My eventual goal is ~210 pounds, which will take a little more than a year to achieve at 1.5 pounds per week, so by the end of this year, I should be around 225 or so. Which would be amazing. I haven’t weighed 225 since around the time I got married, over 10 years ago.