Customers tend to be irritated by poor loading speed. It is for this sole reason that Magento Performance optimization is considered to be first priority by leading ecommerce stores. In this guide to improve magento performance we have listed tips on how to optimize Magento site performance. Most optimizations will work with any version of Magento. Apply these tips and techniques to optimize your magento store and engage customers.
$this->processProduct($product); } b) Models loading We need to remember that each time of executing load () method, a separate query will be executed on a database. Also, loading multiple models separately slow down our code. Models should be loaded only once, with a single SQL query. Wrong Practice: $attr = Mage::getModel(‘catalog/product’)->load($productId)- >getAttr(); $sku = Mage::getModel(‘catalog/product’)->load($productId)- >getSku(); Good Practice: $product = Mage::getModel(‘catalog/product’)->load($productId); $attr = $product->getAttr(); $sku = $product->getSku(); Image Optimization Optimizing product images can dramatically increase the speed of pages as this decreases their download times. Compress images (save for web) before uploading them using a tool like Photoshop or there are a number of extensions can be used to auto-optimize them. Page 12
For the mobile site, always declare width and height for them. The recommended image dimensions for mobile Magento store are: Product image – 250px / 250px Thumbnail – 120px / 120px Don’t make the dimension larger and make sure that all product images are of the same dimensions for height and width. Enable Flat Categories and Products In Magento admin, (top menu) System > Configuration, (left nav) Catalog > Catalog, (main page) Frontend. Set “Use Flat Catalog Category” and “Use Flat Catalog Product” to “Yes“. The above settings will help increase the performance of Magento website. Do you have another way to speed up Magento that we missed? We would love to hear about it below in the comments. Contact: - Email: - email@example.com Phone: - +1-404-643-6023 Website: http://i-verve.com This Post was originally published at: - http://i-verve.com/blog/how-to-improve-magento-performance/ Page 13