Skip to content

Magento Optimal Configuration

Out of the box, Magento will run without issue on our servers, but there are a few basic configuration options you should always ensure are working.  Make sure to review your Magento configuration if you are having performance issues, as it could turn out to be a simple toggle in your admin and save valuable developer time.

  • Enable all caches (System->Cache Management)
  • Enable flat products and categories (System->Configuration->Catalog->Frontend)
  • Disable and clear the Magento compiler (it does not run properly on PHP > 5.3)
  • Enable merged CSS/JS (this can break some sites)
  • Install an FPC module and use Redis with it (Lesti FPC is a good free option)
  • Redis cache
  • Memcache sessions
  • Keep your log tables clean (log_url, log_url_info, log_visitor,log_visitor_info)

Further optimization

If you want your site blazing fast, get working 🙂

  • Use New Relic’s PHP APM to get transaction traces and fine grained data about what calls are slow
  • Debug using the Magento profiler