Enhancing Magento Performance – Website tips

Magento is fast becoming an industry leader in open source ecommerce. Its native ability to administer multiple stores from a common backend and powerful built in features makes it a popular choice for medium and large scale businesses. However, the gain in power comes at a substantial price: performance.

Magento’s complexity requires a great deal of resources to perform its numerous operations. For most default installations, this leads to a very slow website, which can both frustrate users (leading to decreased sales) and have negative SEO impacts. Thankfully there are a wide variety of methods to enhance Magento performance to create a better user experience. The web is full of articles about Magento performance, but we will share a few specific tips that have worked well for us.

Optimize The Server.

Hosting with a company that optimizes their servers for Magento and is experienced with setting up multisite configurations is a fundamental must-have for a top-notch Magento site. You can throw every trick in the book at your site, but if the server cannot handle the Magento load, your site will be like a car with gold-plated rims and clogged fuel injectors. It is always tempting to go with the $3/month budget hosting company, but, as in all aspects of life, you get what you pay for. Magento has several recommended vendors, but be sure that the host offers an account management solution (such as cPanel), which will make site administration much easier.

Use a CDN

A Content Delivery Network (aka Cloud Storage, or CDN) will greatly increase page load times. It is the single fastest way to increase site speed without aside from changing the server settings. Setting up a CDN on Magento is actually quite straightforward:

  • Sign up with a CDN service, such as StackPath CDN, Cloudflare, or a variety of others. Make sure that you sign up for a plan that offers SSL as well. Set up your account to pull from your site’s IP address.
  • You will now have 2 CDN domains, one without SSL and one without. This can likely be something like cdn.yoursite.com or cdn_provider-yoursite.com. In the magento admin, go to System->Configuration->General->Web->Unsecure and replace {{unsecure_base_url}}skin/ with http://your_cdn_domain.com/skin/. Do this for all Media and JS as well. Do the same for Secure section, replacing {{secure_base_url}}skin/ with https://your_secure_cdn_domain.com/skin/ etc.
  • Once this setting is activated, you should then see the images on your site being served from the CDN domain, and they will load much faster. This is quantitatively seen when using a web site speed service such as Pingdom.
  • A drawback to CDN is that the CDN cache must be cleared after making CSS changes in order for those changes to be immediately visible. Follow the instructions for your CDN provider to flush the CDN cache.

Enable System Caching

This will cache the Layout and Template files, which will decrease load times. This is also very simple to set up: System->Cache Management. Select All the boxes then choose Enable from Actions and hit Submit. One thing to keep in mind is that an active cache can cause issues when installing new extensions, moving servers/domains, or making any other structural changes to the site. It is best to disable the cache and purge it before making those system-wide changes.

Merge CSS and JS Files

This is another very simple step that can help realize performance gains. Setting this up will allow for single optimized CSS and JS files to be served as opposed to multiple smaller files, reducing load times. To active this feature, go to System->Configuration->Developer and you will see settings the bottom to merge CSS and JS files. One word of caution: before you change these to Yes, change the Current Configuration Scope from Default to one of the Websites. We have seen merged JS files cause significant issues in the Magento admin, and using the Default setting also affects the admin. In addition, if you have a customized template be sure to include CSS and JS files using the Layout files as explained here or else the included files will not be compiled into the merged file.

Disable Unused Extensions

It is common when setting up a new site to try out some new extensions, only to find that they are not particularly useful or that the original requirement has shifted. However, those active extensions are still consuming precious resources in the background will providing no discernible value. Go into System->Configuration->Advanced and disable all extensions not currently being used.

Another common way to speed up a site is to use Compilation mode (System->Tools->Compilation), but we do not recommend this. We have not experienced any significant improvement in performance, and it drastically reduces the site’s stability. A site using Compilation is far more prone to crashes and unexpected errors, which is far more damaging to reputation than an extra quarter of a second to load a page. With that said, some Magento developers claim to have seen dramatic performance improvements, so proceed at your own risk.

Performing the above simple tasks will definitely increase site speed, enhance customer satisfaction, and probably increase SEO ranking.

Work With Us

We've been building websites for over twenty years, and have learned a thing or two about how to make web projects go smoothly.

What Our Clients Say

Watermelon Web Works, LLC place picture
4.7
Based on 19 reviews
powered by Google
OMS Anita profile picture
OMS Anita
22:20 29 Nov 24
Watermelon Web Works has been incredible to work with. They are patient, understanding, and quick to answer any questions (or emergencies) you might have. After switching over to them to help re-vamp our online retail store, we hired them to build our wholesale website as well. I can't recommend them enough - Thank you team!
Garrett Lister profile picture
Garrett Lister
19:55 10 Jul 24
Jared and the watermelon team were great - they quickly interpreted our website needs and designed a wonderful site. The project management site worked great to keep track of project.
N B profile picture
N B
21:23 14 Nov 23
My previous web developer who I was very happy with retired and I was pretty sad about it because it seems now days it is hard to hire a web developer close by with a good set of skills who is interested in helping small business at reasonable prices. Then I found Watermelon and I have been very happy. They are responsive, are able to solve problems, and work at reasonable prices.
Dark Star Magick profile picture
Dark Star Magick
18:05 03 May 23
We hired Watermelon to help us with our website. They were very thorough and took the time to explain in layman's terms what they were doing and how we could improve SEO and site functionality. We will definitely be back for future website needs!
Astoria Column profile picture
Astoria Column
18:42 24 Apr 23
Great work and amazing service! We're a non-profit, and our priorities are always focused on maintaining the Astoria Column. We had a website built by someone else a few years ago, but without regular updating and maintenance, sections of our site were no longer functional. Joanna and the rest of the team came in and had everything working within a week and it's been smooth sailing since then!
Ben Harris profile picture
Ben Harris
19:25 26 Aug 19
Watermelon has been a fantastic web development partner. Through every phase of our project they have always been 100% responsive to our requests and have always provided highly knowledgeable, creative, prompt, and personable team members to work with. As a financial institution we’re always concerned about the security and maintenance or our website and Watermelon has always provided the appropriate resources in order to meet and/or exceed our compliance and security requirements. We would surely refer them to any business associates looking for a qualified WordPress web designer in the future. – Denali Federal Credit Union
Mohr IP Law Attorneys profile picture
Mohr IP Law Attorneys
00:33 11 Apr 19
Watermelon Web Works did a great job creating a custom shopping cart page for our firm. Gavynn in particular was especially helpful and responsive. We appreciated the upfront costs and the technical competency of Watermelon Web Works and would not hesitate to work with the people there again.
Kim Markle profile picture
Kim Markle
23:36 08 Feb 19
Our company has been working with the Watermelon team for more than 10 years to help build and grow our website and customer portal. They are not only extremely talented and responsive, but are continuously looking for ways for us to enhance our current website. They are consistent, provide excellent customer service and really know what they are doing. Highly recommend!
Rick Brodner profile picture
Rick Brodner
23:23 12 May 17
I cannot say enough good things about Watermelon. They are terrific communicators, highly competent coders, and really, really nice people. They were instrumental in helping us to assemble a very usable, easily maintainable website for our organization. They' have demonstrated great flexibility in accommodating our evolving needs. They have been highly responsive to any technical issues, typically resolving them in less than 4 hours. Watermelon Web Works will make your organization better, and your CFO/Treasurer will be happy when they see the bill - what more can you ask for?
CLOSE