Magento Performance – How to make Magento load faster
Magento is slow. Seriously now, Magento is indeed slow that why the Magento team is always dealing with great lengths to assist store owners and hosting providers enhance the overall performance for the Magento shopping cart application. There are many guides available to you and rumors has it that Magento is readying another official best practices paper that is white more up to date info.
While performance tips that are most require deep familiarity with server management or coding experiences, I wanted to fairly share 7 Magento performance tips that are simple to set through the Admin Panel. Let me know everything you think and what ultimately worked for you!
1. Turn Logging Off
Most Magento developers are unaware that there is an extended mechanism for logging within Magento and therefore it is switched on by default. This logging mechanism was once set to be on by default and therefore, setting it off when you look at the next release can potentially break havoc throughout the tens of thousands of Magento websites or extensions available to you. It will probably won’t affect as numerous sites as one would think but this is the answer i acquired from Magento’s chief architect, and it is a good consideration for such software with the large base of installations as Magento.
So, what are you doing about any of it? simple: Turn it off. In the Magento Admin Panel head to “System” > “Configuration”, from the panel that is left “Advanced” from the “Advanced” Panel at the base left. Search for the module “Mage_Log” and set it to’ that is‘disable save.
2. Turn Compilation On
Compilation is a new feature in Magento version 1.4.x.x and above. This feature actually existed as was and beta turned off by default in earlier versions of Magento but from version 1.4.x.x as well as on it is now switched on by default and ready for production. This feature that is new files and scopes into more easily accessible blocks of HTML. In accordance with the Magento Core team, using this feature provides “between 25% to 50% better performance with regards to the page requested.”
To allow, go within the Magento Admin Panel to “System” > “Tools” > “Compilation” and click from the “Run Compilation Process” button.
Combining files feature happens to be built in by default in Magento version 1.4 and above. Realize that in certain versions this might be still in beta and it also will not compress or minify the files, only combines them. Whatever the case, this is certainly an excellent features for performance and always shows significant improvement into the browser rendering time.
4. Enable Magento Flat Catalog
Magento inherently uses the EAV database module. This means each category or product has information spread throughout a large number of tables. Each and every time that an item page is requested or a category page is requested a big join query is meant to gather each one of these items of information and build the product object. While extremely flexible this particular feature is a huge bottleneck for performance – this is when the flat catalog comes handy. The catalog that is flat allows Magento to construct exactly the same objects with one single DB query from 1 single DB table.
To make this particular aspect on, go within the Magento Admin Panel to “System” > “Configuration”, choose “Catalog” through the “Catalog” panel. Expand the top panel which should say “Frontend” and at the underside you need to see two options “Use Flat Catalog Product” and “Use Flat Catalog Category”. Set both to Yes.
Note: if these options are grayed out, you probably need certainly to enable indexing for these features (In the “System” > “Index Management” page).
5. Avoid Using Layered Navigation in the event that you Don’t Want It
Layered Navigation is clearly a great feature for shopping carts with a large catalog. It can help your users find the product that is right narrowing down the product attributes it wishes to buy. These feature unfortunately slows down Magento significantly, hence until you are ready if you do not use it or understand what it is, go ahead and disable it.
In order to disable this particular feature, set the attribute ‘Anchor Category’ to ‘No’ for all you categories.
6. Extend Minimally: Only Install Extensions You Will Need
This tip is trivial, but I often see this mistake been created by existing store owners. To install a new Magento extension is indeed easy these days, that lots of simply do it and try out a variety of extensions. The thing is that the vast majority of those extensions may possibly not be programmed with performance in your mind, hence they have been a hindrance on the internet site performance. Even worst, some extensions may introduce security wholes that you might can’t say for sure about until it really is far too late. Hence, it is always a secure practice to use very little extensions because you never had the time to remove it as you need and never leave any extension just. Less extensions does mean easier upgrades, that will be my performance that is next tip.
7. Use the Latest Stable Edition & Update Often
Another trivial performance tip that many store owners skip with regard to adding features or not enough resources is upgrading often. Magento is still in its infancy as a shopping cart platform and you will find lots of features that are now being added and discussed to the core code. Within the last few one year the Magento Core team happens to be putting plenty of effort to summarize bugs and adding performance enhancements, like the flat catalogs, caching & indexing mechanisms, and from now on the compilation mechanism. So, when there is a unique stable version available on the market you should focus on upgrading your core platform and learn with what new ways it’s possible to boost performance, and most importantly sales!