Magento WizardNo joke, this website relaunches on 1st April. New look, new features!

Contact the site  Make Money

Improve the Speed of Your Magento Site

 Add to Favourites  
(No Ratings Yet)
Loading ... Loading ...

I’m finding all sorts of crazy little finds recently with regards to improving numerous of aspects of Magento, and today I’m focusing on speed.

Obviously, speed is of the essence when you’re hosting 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.

I found a handy Magento Speed Test tool, where you can enter a URL and see how fast it pings from various computers across the world. I have pinged an installation by Simple Helix, the Magento specialists – and all of the locations which ping the Simple Helix server which contains the Magento installation, come up with good speeds.

So, when choosing a Magento host, you should really use this tool in order to decide if their speeds are good enough. It’s almost worth asking the company (before you sign up with them), to show you a Magento installation somewhere so you can ping it using the mentioned Speedtest service.

UK based NuBlue Magento Hosting are another company to have used this service to demonstrate how good their servers are. Again, they ping very well, and their example Magento installation, which is available to see through their website, shows quick speeds!

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

Best of luck!

  • Digg
  • del.icio.us
  • Facebook
  • Google
  • LinkedIn
  • Live
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis

about the author

    This article was written by Sam Davis on October 16, 2008.
    Computing over a glass of Grenache Shiraz... again!
    Sam is the Editor of Blasted Thing. Contact Us

related articles

 USA Magento Hosting with A2
 Speed up your Magento site by caching images

comments

6 Responses to “Improve the Speed of Your Magento Site”

  1. Michael on April 13th, 2009

    Wow. Killing hte PHP memory limit made a ****HUGE*** difference! Seriously, that alone halved my page loads. And I haven’t even enabled caching yet since I’m still designing!

  2. prakash on February 2nd, 2010

    great article. helped me alot

  3. Liam on February 8th, 2010

    Kind of ruined the credibility for me with affiliate links throughout the article.

  4. fred perry on February 19th, 2010

    Thanks the mysql query cache makes a huge difference!

  5. Coffee Beans on February 23rd, 2010

    I pushed up my limit to 512M not sure if my server will allow this much memory to be used but there are no errors

  6. Dejan web dizajn on March 5th, 2010

    Wow, thanks… This is very very helpful! Have to try this!

Leave a Reply




Spam protection by WP Captcha-Free



  • Sponsored Ads

  • Magento Themes
    • vtiger: great article, thank you....
  • Recent Tweets

    Web Development :: Magento/Joomla/Wordpress PHP Plugin Development - oDesk: I'm looking for experienced Magento/Jo... http://bit.ly/ahWof0

    Post-Dinner Reading: Magento Nabs $22.5 Million in Equity Funding for eCommerce Software - http://bit.ly/ddGQkE #opensource

    RT @magento_connect: Magento Zendesk integration http://ff.im/-hCs9b

    RT @maslett: 451 CAOS Links http://bit.ly/9wDGWU Pre-OSBC special: VMware goes NoSQL. Magento raises $22.5m. Nuxeo triples customer count

    News: CZE:BLUE - Magento Theme http://www.magentocommerce.asia/magentoextension/czeblue-magento-theme/