Helping to Speed up Magento

Sometimes your Magento solution can run very slowly under the weight and pressure of the amount of traffic your site is producing or the load on the server could be slowing you down. By looking through the forums at magentocommerce.com you can find several good topics that can help you improve the speed of your solution.

Here are some tips to speed up your Magento solution;

  • Install Fooman Speedster

This add extension to your Magento store can really help increase your page loads. You can download the extension here.

  • Enable Gzip Compression in .htaccess

http://www.magentocommerce.com/boards/viewthread/7100/

To enable this uncomment the following like in your .htaccess: (Line 52)

#php_flag zlib.output_compression on

To uncomment this, just remove the # and then re-upload it

  • Modify your MySQL configuration to take better advantage of your server’s RAM

Here you can find an example of my.cnf is below. You will want to consult your MySQL documentation for a complete list of configuration help and recommended settings.

The list of settings that the MySQL documentation recommends for your my.cnf is as follows:

key_buffer = 512M

max_allowed_packet = 64M

table_cache = 512

sort_buffer_size = 4M

read_buffer_size = 4M

read_rnd_buffer_size = 2M

myisam_sort_buffer_size = 64M

tmp_table_size = 128M

query_cache_size = 96M

query_cache_type = 1

thread_cache_size = 8

max_connections = 400

wait_timeout = 300

These changes will probably be best for your host to do rather than yourself.

Always look through the Magento forums as performance improvements can be found throughout with the minimal of effort to help your store increase in performance.

Comments are closed.

line
footer
Copyright © 2012 Magento Help