1. Turn Logging Off
Most Magento developers are unaware that there is an extended mechanism for logging within Magento and that it is turned on by default. This logging mechanism was once set to be on by default and therefore, setting it off in the next release can potentially break havoc across the tens of thousands of Magento websites or extensions out there. It will probably won’t affect as many sites as one would think but this is the answer I got from Magento’s chief architect, and is a solid consideration for such software with the large base of installations as Magento.So, what can you do about it? simple: turn it off. In the Magento Admin Panel go to “System” > “Configuration”, from the left panel choose “Advanced” from the “Advanced” Panel at the bottom left. Look for the module “Mage_Log” and set it to ‘disable’ and save.
2. Turn Compilation On
Compilation is a new feature in Magento version 1.4.x.x and above. This feature actually existed as beta and was turned off by default in previous versions of Magento but from version 1.4.x.x and on it is now turned on by default and ready for production. This new feature compiles files and scopes into more easily accessible blocks of HTML. According to the Magento Core team, using this feature provides “between 25% to 50% better performance depending on the page requested.”To enable, go in the Magento Admin Panel to “System” > “Tools” > “Compilation” and click on the “Run Compilation Process” button.
3. Combine Javascript and CSS files
Combining files feature is now built in by default in Magento version 1.4 and above. Notice that in some versions this is still in beta and it does not compress or minify the files, only combines them. In any case, this is a great features for performance and always shows significant improvement in the browser rendering time.To turn this on, go in the Magento Admin Panel to “System” > “Configuration”, from the left navigation panel, click on “Developer” link from the “Advance” panel (all the way at the bottom). Look for the two tabs “Javascript Settings” and “CSS Settings” and you want to select “Yes” for the Merge files options in both.
If you need additional horse power you may want to look at Fooman speedster extension which merges and compresses Javascript and CSS files on the fly. The Fooman extension also uses advanced caching mechanism for the compressed files and has more options to tweak for the more advanced store owners out there.
4. Enable Magento Flat Catalog
Magento inherently uses the EAV database module. This means that each product or category has information spread throughout dozens of tables. Every time that a product page is requested or a category page is requested a big join query is made to gather all these pieces of information and build the product object. While extremely flexible this feature is a huge bottleneck for performance – this is where the flat catalog comes handy. The flat catalog essentially allows Magento to build the same objects with one single DB query from one single DB table.To turn this feature on, go in the Magento Admin Panel to “System” > “Configuration”, choose “Catalog” from the “Catalog” panel. Expand the top panel which should say “Frontend” and at the bottom you should 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 to enable indexing for these features (In the “System” > “Index Management” page).
5. Avoid Using Layered Navigation if You Don’t Need It
Layered Navigation is actually a great feature for shopping carts with a large catalog. It helps your users find the right product by narrowing down the product attributes it wishes to buy. These feature unfortunately slows down Magento significantly, hence if you do not use it or understand what it is, go ahead and disable it until you are ready.In order to disable this feature, set the attribute ‘Anchor Category’ to ‘No’ for all your categories.