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)

Clearing caches (Must know)


Like we saw before, caching mechanisms store data for a faster retrieve. This data can be outdated and can mislead you in finding bugs.

How to do it...

The first step is to answer the question, "Why is this not working?". The answer to this is to clear all caches.

Go to System | Cache Management.

Select all enabled caches and refresh them by selecting Refresh in the top-right corner and finally click on the Submit button. Lastly, clear your browser cache.

How it works...

The caching mechanism that we studied before stores responses rather than computing them. If you change something in your configuration, it's highly probable that your browser or the Magento caching system still stores the old responses. Indeed, retrieving outdated data from your caching systems can mislead you in finding bugs.

There's more...

Sometimes you will have to make sure that all the caches are actually clean. The only way to be sure is to delete them manually.

Deleting the cache from filesystem

There is another option for deleting the cache belonging to Magento. You have to delete the cache directory under YOUR_STORE.COM/var.