Magento has been named a resource hog. If you have a server which isn’t able to handle Magento, the site can run a little sluggish. We cannot say this enough, “Get good, sufficient hosting.” However, there are measures a Magento developer can take to help improve performance.
1. Enable Flat Categories and Products
In the Magento admin, navigate to System > Configuration > Catalog > Catalog > Frontend. Set “Use Flat Catalog Category” and “Use Flat Catalog Product” to “Yes”.
See Mage_Catalog_Model_Resource_Product_Collection class below. By doing this setting, you are adjusting how Magento pulls categories and products. It will now pull from the Flat Resource while making the SQL queries simpler.
2. Merge and compress JS and CSS
The following extensions can to compress JS and CSS
- https://www.magentocommerce.com/magento-connect/minify-html-css-js.html or
We don’t recommend using the built-in JS and CSS merger, because it causes more problems than good.
An excerpt from the article above:
So far everything has gone well; we have made the page load faster while decreasing the load on the server, butâ€¦ Next, the user is enticed by one of your products and clicks through to a product page.
3. Enable Full Page Cache (FPC)
If you are on Community Edition, use one of the extensions below
Enable other caching
- Cache backends: Memcache or APC
- Session stores: Memcache or Redis
- OpCode cache: APC or XCache
- Reverse Proxy Cache: Varnish