2012年10月9日星期二

PHPMaster.com: Speeding Up Your CakePHP Websites


PHPMaster.com has a new tutorial posted sharing a few helpful hints about speeding up CakePHP-driven sites to help squeeze the most performance out of your site.



By applying a few simple modifications, and even some more complex enhancements, CakePHP can be sped up quite a bit. By the time you work your way through even half of these changes, the performance of your your CakePHP site will be comparable to many other popular PHP frameworks, with the advantage that your development speed will never falter!


There's several tips in their list - some a bit more difficult to accomplish than others, but worth the results:



  • Upgrade CakePHP Versions
  • Disable Debug Mode
  • Disable Recursive Find Statements
  • Cache Query Results
  • Install Memory Based Caching
  • Removing Apache and Installing Nginx
  • Configure Nginx to use Memcached
  • Remove MySQL and Install Percona


For more information on the CakePHP framework, see the project's main site.

没有评论:

发表评论