How to optimize the loading time module M2 Admin Preview?

Created by Jane D, Modified on Tue, 17 Nov 2020 at 11:06 AM by Jane D

QUESTION:

After installing the purchased extension of BSS_M2AdminPreview version 1.0.8. It makes the admin sales order grid to load slowly.  

Steps to Reproduce the issue:
1. Click on Sales -> Order Menu from admin. And check the slow loading of sales order grid.
2. After disabling this module, better performance of loading occurs.


Can you support us optimize the speed?


ANSWER:


To optimize the loading time after installing the module,  please download the attached file below and overwrite the current file on your site.


Files changed:

+ app/code/Bss/AdminPreview/Block/Adminhtml/OrderedItems.php

+ app/code/Bss/AdminPreview/Helper/Data.php


Before optimizing, the loading collection time is about 10s to 12s. After applying this fix, the loading collection time is just about 6s.


If you have any other question or concern, please feel free to leave us a message via https://bsscommerce.com/contact

We'd be happy to support.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article