Given that four in ten Americans leave a mobile shopping site if it takes longer than three seconds to load, speed is of the essence if you run an eCommerce website. If your site is powered by Magento, you can easily improve its performance with the use of select plugins called Extensions. These are readily available for you to use via Magento Connect.
Using the Latest Version of Magento
Prior to adding any Extensions to your Magento installation, consider upgrading to the latest version. With the release of Magento 2.X earlier this year, you now have access to a redesigned back-end user interface that makes administrative changes much easier. Additionally, the updates comes with built-in improvements, especially in terms of caching, that will automatically speed up your site’s page load speeds.
Extensions for Optimizing Your Installation
Magento Connect offers many Extensions that promise to improve different aspects of your site so that it performs better. Using these Extensions allows you to easily optimize your site without having to manually tweak your site’s settings.
One way to reduce the size of your files is to minify them, which is the process of removing anything that is not essential to the rendering of the page and making changes that reduce the overall size of the file. For example, you might remove all comments and whitespace and shorten long function and variable names. If you have images, the pictures might include a lot of metadata (such as where and when the photo was taken) that isn’t necessary for displaying to users. Generally speaking, all of these things can be removed without negatively impacting your user’s site experience.
Additionally, you will want to ensure that your server is sending over compressed versions of these files, not the larger originals to ensure that these get to the user as quickly as possible.
One easy way of ensuring that all these things are done is to install the JS & CSS Compressor with Image Optimization Extension. By using this Extension, you can easily ensure that all of the best practices mentioned above are implemented without you having to manually make changes in each area for your site.
You can opt to have the static parts of your site cached so that the user does not have to wait for a full HTTP request cycle to obtain the files needed to see items that have not changed. For example, every user to your site that looks at a given product will see the exact same page, and that page probably doesn’t change very frequently. As such, it makes sense to cache the page, rather than accessing the database to regenerate this page over and over again for each request.
One easy way of doing this is to use Full Page Cache, which utilizes different caching systems to speed up your site:
- Primary Page Cache: Primary caching is intended to decrease the time to first byte (TTFB) value, which is the amount of time it takes for the web browser to receive the first byte of the site in return from the server. This is important because nothing can be shown to your users until the HTML has been downloaded and parsed. Using this extension, your page is cached and the request never needs to make it to the database, which reduces the amount of time it takes for your user to see your site.
- Secondary Page Cache: Secondary caching is intended for use with pages that have been cached, but also contain dynamic content. In addition to caching the static features of the page (which is done by the primary caching process), secondary page caching works for logged in users, users with items in their carts, and so on.
By providing you with an easy-to-use graphic interface that offers a lot of configuration settings (in addition to auto-configuration options that fit a variety of use cases), Full Page Cache is a simple way of implementing caching on things you want cached and minimizing caching on dynamic content that does not need it.
While slow server-side response times account for only 10% of page load delay times, a large amount of this is a result of issues with the database.
Every time you save a new product or product category, Magento re-indexes your database for improved performance. If your catalog is small, this process is not noticeable, but as your catalog grows, so too does the amount of time required for re-indexing. In addition, you cannot work with the administrative panel for edited, but unsaved, areas of your catalog during this process.
Fast Asynchronous Re-Indexing allows you to work on your catalog during the re-indexing process, which reduces the amount of time it takes to update your database appropriately and the amount of time it takes for your products to display to your potential buyers.
Speed is of the essence when running an eCommerce website. While optimizing your Magento installation can be a long, difficult process, there is an abundance of easy-to-use Extensions that is capable of doing a fair amount of this work for you. Because of this, you can easily implement changes that will decrease your site’s page load times and increase your customer’s satisfaction with your site.