10 ways to speed up Magento website

10 ways to speed up Magento website

Loading time plays a key role in creating a seamless customer shopping experience. However, many retailers using Magento 2 are struggling with their website’s slow load speed. If your Magento 2 site is loading slowly, don’t be discouraged. We just want to reassure you that it’s a common and solvable problem of any eCommerce platform. This article will provide you with tips and tricks to help retailers speed up Magento 2 websites. While some solutions require technical skills and knowledge, SmartOSC give you practices which are easy to follow and can be performed by non-technical store owners.

Why is Magento slow?

By default, the Magento 2 speed isn’t slow. The fact that your Magento site is no longer as fast as it was may be due to the following reasons:

  • Not meet the system requirements to run Magento store
  • Use slow and inadequate hardware
  • Use inappropriate extensions
  • Not enable the right plugins
  • Not optimize MySQL, NGINX, and PHP configuration
  • Make inappropriate customization
  • Disable Magento caching

Diagnose Magento speed

Testing site speed is the first step to evaluate how serious and where the problem is. Your team should perform speed tests regularly in a maintenance cycle to optimize and speed up Magento. We recommend some reliable tools for basic measurement of your website:

  • Google PageSpeed Insights, which divides your Magento performance into 3 levels following the traffic light coloring system:
    • Green (good score): 90–100
    • Orange (average): 50–89
    • Red (poor): 0–49
10 ways to speed up Magento website
10 ways to speed up Magento website

You can switch check to site performance in desktop mode.

10 ways to speed up Magento website

Use Field Data and Lab Data to analyze Magento speed more deeply.

  • GTMetrix
10 ways to speed up Magento website

GTMetrix provide site speed and suggestions for Magento 2 optimization.

However, some Magento slowdowns may only occur in a real environment when there’s real traffic and user actions. New Relic is a website performance monitoring tool that Magento exclusively recommends for merchants. It provides a dashboard to monitor the performance of transactions, queries on the server, report the number of errors on the website, and record them in the history for later review.

10 ways to speed up Magento website

While New Relic is extremely simple and easy to use, this tool is especially important for eCommerce sites that use many extensions and POS sharing the same Magento backend. Choosing Magento extensions and POS that work with New Relic will help you monitor their impacts on your website performance and speed. You can identify the specific extension or behavior that is slowing down your Magento website.

After diagnosing the current condition, now it’s time to learn how to improve Magento performance.

=>>>>> Read more: https://www.smartosc.com/insights/top-4-cong-ty-magento-uy-tin-tai-vietnam

10 ways to speed up Magento website

1. Understand Magento 2 system requirement checklist

Path: Please visit and make sure your eCommerce store meets the latest Magento 2 system requirements.

2. Regularly update Magento

You should update your site’s Magento version when Magento releases a new version. New releases often include patches and performance improvements. Make sure you are running the latest Magento version.

Path: Check the latest version in Magento Releases.

=>>>>>. Read more: https://www.smartosc.com/insights/Dich-vu-phat-trien-Magento-tron-goi

3. Speed up Magento server setup

The server is the most important component that affects the loading speed of a website. You can select a good server based on the following criteria:

  • Operating system requirement
  • Storage of data
  • Performance
  • Scalability
  • Manageability
  • Resources
  • Security
  • Server requirements

Also, you should consider a good hosting provider that provides high quality support with positive reputation and reviews, as well as the technical capacities of your hosting server. Our recommendation for some reputable hosting providers:

  • AWS
  • Cloudways
  • A2hosting
  • Nexcess
  • Siteground

4. Enable Varnish Cache for Magento caching

Varnish Cache is an open source web application accelerator that allows Varnish to reduce response time and network bandwidth consumption for future equivalent requests.

Path: Admin panel > Stores > Configuration > Advanced > System > Full Page Cache > Caching Application > Varnish Caching.

10 ways to speed up Magento website

5. Enable Magento cache management

Imagine sending an invitation to an event to 1,000 people. It will take a lot of time and effort if you write a thousand invitations manually. You can use a sender-based printer or bulk email tool.

Magento 2 caching mechanism for speed optimization works in the same way.

  • Magento will create a copy of your site in the local cache of the customer’s web browser.
  • Magento returns the copy when the user returns in the future, instead of recreating a new site every time the browser requests it.

Magento provides built-in caching types such as page cache, integration configuration, client notifications, and web service configuration. Turning on caching can minimize the required number of database operations for page requests. Just remember to keep all of them on.

Path: Admin panel > System > Cache Management.

10 ways to speed up Magento website
  • Select all the fields and Submit
  • Ensure that the status is green and the label shows Enabled for all cache types

6. Setup Content Delivery Network

Slow loading times not only affect the customer experience but also reduce your website’s SEO performance. Configuring your Magento 2 Content Delivery Network (CDN) can help your website achieve incredible speeds. Unlike the site cache, you need to define and configure your CDN as it is not fully integrated into Magento 2. Let’s learn how to configure it properly.

Path: Admin panel > Stores > Settings > Configuration.

  • Select Web under General in the panel on the left
  • Open the Base URLs section
Related Articles:   Why is Magento the best eCommerce Platform in ThaiLand?
10 ways to speed up Magento website
  • Enter the URL of the location on the CDN which store static view files in the Base URL for Static View Files field
  • Enter the URL of the JavaScript files on the CDN in the Base URL for User Media Files field
  • Open the Base URLs (Secure) section
10 ways to speed up Magento website
  • Enter the URL of the location on the CDN in the Secure Base URL for Static View Files field
  • Enter the URL of the JavaScript files on the CDN in the Secure Base URL for User Media Files field
  • Click Save Config

7. Do Magento image optimization

As an eCommerce retail store, presenting a lot of product images on your website is inevitable. That massive number of media will slow down your Magento speed if not properly optimized.

Our recommendations to optimize images:

  • Choose the right image file type:
    • The image of the product should be in the 3 most common types, which are JPEG, GIF, and PNG.
    • The logo should be in PNG or SVG format.
  • Use photo editing tools to compress and reduce the size of your images without losing image quality:
    • For PNG: TinyPNG
    • For JPEG: JPEGmini and ImageOptim
    • For SVG: Vecta.io
  • Do not use HTML to handle large picture scaling, as this makes the pictures worse than the original pictures, not to mention it takes longer for the browser to scale them.

=>>>>>>>> Read more: https://www.smartosc.com/insights/Diem-mat-top-cac-cong-ty-Magento-tai-Vietnam

8. Use Magento log cleaning

Magento log slows down the database backup and your whole Magento store. You can optimize your Magento site as well as improve speed and performance by cleaning these logs regularly. Here’s how store owners can clean up Magento database logs without having to access Magento databases.

Path: Admin panel > System > Configuration.

  • On the left side, under Advanced, click on System
10 ways to speed up Magento website
  • Under System, see MySQL Message Queue Cleanup
10 ways to speed up Magento website
  • Set the values for all of these following attributes as default or automatic clearance as per your requirements:
    • Successful Messages Lifetime
    • Retry Messages In Progress After
    • Failed Messages Lifetime
    • New Messages Lifetime
10 ways to speed up Magento website
  • Click Save Config

9. Disable flat catalog category on Magento 2.3.x and above

Enable flat category has been the method to optimize Magento 2 speed for many years. But in newer versions from Magento 2.3.x and above, Magento architecture has changed completely. That’s why flat catalogs are no longer recommended by Magento because of indexing issues and the risk of performance degradation.

10 ways to speed up Magento website

Before disabling the feature, it is important to check all extensions that are required to work with the flat catalogs.

To disable Flat Catalogs:

Path: Stores > Configuration > Catalog.

10 ways to speed up Magento website
  • Expand the Storefront section
  • Set No to both the Use Flat Category and the Use Flat Catalog Product fields.
Related Articles:   See why 90% of Magento websites run on unsupported PHP versions

On the other hand, flat catalogs still work well with Magento 2.1.x and Magento 2.2.x versions. You can shorten the reading speed of the database by enabling Flat Category and Product. It will help:

  • Reduce the number of databases involved in displaying products, which is extremely useful for big retails with large categories and hundreds of products
  • Improve the performance of MySQL queries

Path: Admin panel > System > Configuration > Configuration > Catalog.

10 ways to speed up Magento website
  • Turn Use Flat Catalog Category to Yes
  • Turn Flat Catalog Product to Yes

10. Minimize the JavaScript and CSS

To efficiently reduce your page load time and optimize your website, you can merge CSS and JavaScript files into a single file instead of separating them. To merge CSS and JavaScript in Magento 2, you can follow our simple guide.

Path: Admin panel > Stores > Configuration > Advanced.

  • Under the Advanced tab, click Developer
  • In the JavaScript Settings section, change the values of 3 following fields to Yes
    • Merge JavaScript Files
    • Enable JavaScript Bundling
    • Minify JavaScript Files
10 ways to speed up Magento website
  • In the CSS Settings tab, change the fields Merge CSS Files and Minify CSS Files to Yes
10 ways to speed up Magento website

Other aspects to consider to speed up your Magento website

These are important components that can significantly speed up your website, but they will require a deep understanding of infrastructure architecture and programming skills. As a store owner, you can use this list as a checklist when accepting improvements made by your developers.

  • Speed up Magento admin
  • Speed up Magento product save
  • Speed up Magento 2 price import
  • Speed up Magento URL rewrites
  • Speed up Magento 2 tier price import
  • Speed up Magento localhost
  • Speed up Magento search
  • Speed up Magento retrieving data from database
  • Speed up Magento backend
  • Speed up Magento server addon
  • Speed up Magento 2 product management
  • Speed up Magento cart
  • Speed up Magento checkout

=>>>>>>> looking for more information: https://www.smartosc.com/insights/top-4-magento-agency-tai-viet-nam

Conclusion

A slow loading Magento site will have a high bounce rate, which is one of the most important metrics used by Google to determine your ranking in search engines. So don’t lose potential customers because of slow websites. Applying the 10 ways we suggest can significantly speed up your Magento site.

However, you can go further and turn your Magento into a PWA Storefront. You’ll get lightning-fast page speed and the flexibility to integrate and scale with your business. Your customers will feel satisfied when your website responds quickly, creating a good impression and trust in your brand.

Let’s improve Magento performance from the beginning and by regular maintenance routines.

Article source: https://www.smartosc.com/

1 thoughts on “10 ways to speed up Magento website

  1. escape room says:

    Hello there, just became alert to your blog through Google, and found that it
    is really informative. I’m gonna watch out for brussels.
    I will be grateful if you continue this in future.
    Lots of people will be benefited from your writing.
    Cheers! Escape rooms hub

Leave a Reply

Your email address will not be published. Required fields are marked *


Our Ecosystem : Vietnam, Australia 1, Singapore 1, Thailand, Australia 2, Singapore 2, USA 1, Australia 3, Singapore 3, USA 2, Singapore 4, Australia 4, Ecommerce, USA 3, Meeting Room Booking, Visitor Management system