Are you among those store owners who think that their Magento powered store is running quite slow despite using caching, fine tuning default Magento core which avoids repetition of running heavy operation? Aftermaths of your site being intolerably slow are dangerous. Your potential customers might leave your site and go to some other vendor even after finding you first in Google. What’s the point of bringing good traffic to your site still making lesser sales than expected.
The single most effective configuration item for enhancing the performance of Magento is money – Crucial Hosting
We don’t buy this very idea that every small or big enhancement should necessarily require huge money but somewhere it’s true as well. Reason is fairly simple but you have to understand little bit of Magento history. Magento is an ecommerce open source software built of Zend Framework by modifying, hacking lots of core features. As Spiderman says “With great power there must also come — great responsibility“. In order to enhance what we already had in osCommerce, ZenCart, Xcart or other popular ecommerce software’s they have modified or drafted Magento core in such a way which is quite complex. For an example they have modified files in the /app/code/core (broken upgrade), completely copied default design directories with only one or two modified files and modifications pinned to specific database version (pre-1.2.1). Eventually, Magento’s learning curve became too steep that it takes a drastic amount of time to understand which costs lot of money. Moreover, solving simple things started taking more time than usual which is also a big factor.
If you loop deeper you will notice that there are lots of logging tables which require regular maintenance. We also noticed “report_event” table in our demo store which had been running since the beginning and collected well over 340,000 records in total which were useless. We simply truncated the table and noticed 30-40% improvement in page execution time. So, it’s easier to understand that if you know what’s wrong you can straight away fix the issue like in this particular issue where we end up reducing page load time by 4X.
Magento critics typically blame Magento for being too slow but it’s not the core which is culprit but the configuration which aren’t done correctly or the server which is not responding to the actual Magento needs. In order to make your Magento powered store lightning fast (Even Google gives precedence to sites which loads very fast) you need to purchase sufficient system resources (memory, CPU etc.) to Magento to make it run properly. Moreover, you need to invest in fine tuning/configuration best suited to your particular store. I am listing the possible Magento fine tuning/configuration items below and will explain each of them in a separate post.
Magento Performance Optimization List
- Enable Magento caching
- Fine tune your Magento theme and make it super clean
- Enable Magento Compiler which comes as default
- Check for W3C compliance
- Disable unused Magento modules
- Compress images
- Session Storage – Check which version suits you best; files v/s mysql
- Enable flat catalog if your Magento store is fairly small
- PHP configurations check so you don’t run into timeouts or memory problems
- Use PHP accelerator – APC, ZendOptimizer+, eAccelerator, XCache etc.
- Compress PHP output – use mod_defalte or zlib.output_compression
- Fine tune Apache mod_expire headers – test a big and slowly increase expiration time
- Fine tune realpath_cache_size – default is 16K, increase this to optimal level
- Configure and use Lazy load especially if your store has lots of images
- User HTTPS only on page where it’s really required
- Optimize your MySQL carefully – play with query_cache_size
- Use CDN which are really fast to load your static content like JS, CSS or images from CDN
- Disable local unused Magento modules
- Keep an eye on 404 errors and solve them
- Use Ngix or Lightspeed if Apache is not for you
- Disable htaccess-files option in Apache
- Use Cloud if your store experience heavy traffic and load
- In production version try to optimize Apache logging
- Store dynamic data on memory-based file-systems – use tmpfs or RAMdisk to store va/cache or var/session
- Magento SEO changes
- Magento server security and directory permissions
All the above points require proper understand, technical expertise and ofcourse funding. If all the above are optimized properly i don’t see a reason where a Magento store will run slow. In order for your online store to function at an optimum level with full features and without any performance issues, it is vital that your Magento Commerce store is continuously monitored and improved to ensure it is operating optimally. This is probably one of the most technical areas in the Magento services suite.
If the above seems too much then we are here to help you. We are just a call away. Simply leave us a message or give us a call to find out if your Magento store is fully configured and optimized.