Book Image

Instant Magento Performance Optimization How-to

By : Nayrolles Mathieu (USD), Mathieu Nayrolles
Book Image

Instant Magento Performance Optimization How-to

By: Nayrolles Mathieu (USD), Mathieu Nayrolles

Overview of this book

The optimization of an attractive commercial website is a non-trivial task that demands time and knowledge. Optimization is a critical point for all growing businesses because a misconfiguration could make you lose money, a lot of money. If your server is overloaded, a browser that wants to turn into a buyer will not be able to, and you will lose customers. "Instant Magento Performance Optimization How-To" is a practical, hands-on guide that provides you with a number of clear, step-by-step exercises to help you reach a high performance level for your Magento stores and keep your customers satisfied.This book looks at tweaks and tips used to boost your Magento Performance, and breaks down the confusion that surrounds the subject.You will learn how to compress your pages, styles, and scripts by almost 80%. We will also take a look at controversial optimization settings such as Magento core compilation or enabling all caching systems. You will discover new applications that improve performance. If you wish your e-businesses to grow and want to keep your customers satisfied, you definitely need this book.
Table of Contents (7 chapters)

Managing the index (Must know)

The index is a data structure that helps to retrieve data faster.

How to do it...

To manage Magento indexes, go to System | Index Management.

Hit the link, click on Select All, and then on the Submit button. After a moment, each status turns to green and a message will pop up on the top of the table. This message will be of the form "A total of (x) index(es) have reindexed data".

The following table shows the data with compilation enabled:



Load time


Overall (before)


2.58 seconds

724.3 KB

Overall (after)


2.20 seconds

724.3 KB

As you can see in the preceding table, this option reduces the load time by another 0.38 seconds.

How it works...

Magento indexes most of your data in order to access it faster. An index is a data structure that improves the speed for retrieving the data and slows down the writing operation. In the case of an e-commerce website, most of the data operations are that of retrieving (for example, to display products). When you create new articles or categories, you should go back to the Index Management page and re-index all your data.