Improve Magento’s Speed

Obviously, speed is of the essence on your Magento site. The E-Commerce platform is pretty resource intensive. Some people have been complaining of slow speeds, and things just taking a little bit too long. Well, considering users make up their minds about a web-site within the first five seconds, load time is crucial.

In terms of speeding up your web-site, whack…

php_value memory_limit 128M

.. in to the .htaccess file in the root. This will help to ensue that the memory that PHP has access to is not exhausted, and you should suffer less hangs and more speed.

Other speed tips include making sure Magento caching is turned ON in Admin, ask your server host to enable MySQL Query caching, and enabling GZip COmpression in the .htaccess will certainly give it a boost too. You can do this by finding “enable apache served files” in the file, and then changing the chunk of code to the following…

############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip

# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don’t compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary

3 thoughts on “Improve Magento’s Speed

  1. Pingback: Improve Magento’s Speed : The Outdoor Syndicate

  2. Pingback: Improve Magento’s Speed | Build Your Bow

Leave a Reply