Magento 2 Dashboard: Optimize loading performance for speed! Troubleshoot and resolve the most common issues slowing down loading times for your dashboard!
Clients have raised concerns about their Magento 2 dashboard loading slow.
There can be several reasons that cause dashboard loading performance to be sluggish. This article will walk the reader through the troubleshooting and optimal resolution steps for the most common issues on a per-reason basis.
The five major reasons that can cause your Magento 2 dashboard to load slowly are:
Low PHP Memory Limit (low memory_limit value)
Unused Extensions that Increase Database Reading Time
Automated Reindexing After Each Product or Catalog Change
Now on a per-reason basis, let us review the best practices for speeding up a slow-lowing Magento 2 dashboard.
The PHP Memory Limit sets the maximum amount of memory in bytes that a script is allowed to allocate.
The PHP memory_limit value) is per script, just as a highway’s speed limit is per vehicle. So, for example, although the PHP Memory Limit may be set high to 1 GB, that does not mean that scripts will pile up to use that 1 GB.
We can tweak this value by creating a file named .user.ini in your site's document root folder with the following memory_limit value:
memory_limit = 2048M
The default parameters, including the PHP Memory Limit, can be found in the article that covers the PHP defaults for customers.
One effective way to improve the Magento 2 Dashboard’s performance is to remove unused extensions. Even if we deactivate an extension, it will still exist in the database. Leaving the unused extension will increase your database’s size and therefore, also the database’s reading time. So, the additional step of removing any unused extensions is a best practice.
Once your remove the unwanted extension, the reading time of the database will be reduced and help the Magento 2 Dashboard load more quickly.
Reindexing is one other reason for the slow performance of the Magento 2 Dashboard while saving a product. The reason is because whenever you save a product, the Magento 2 Dashboard will start to reindexing it. And, if there are many products, then it will take a lot of time to reindex them.
It is not possible to disable reindexing. However, we can turn off automated reindex updates after each product or catalog change.
To turn off automated reindexing, follow these steps:
>> Navigate to System > Index Management.
>>> Check all the items from the table.
>>>> Change from UPDATE ON SAVE to UPDATE BY SCHEDULE.
>>>>> Now click on the Submit button.
Our award-winning customer care team is here for you.Contact Support