DEV Community

Cover image for Accelerating PrestaShop 1.6
Jae Beojkkoch
Jae Beojkkoch

Posted on

Accelerating PrestaShop 1.6

Greetings everyone, today I'm going to show you how to speed up PrestaShop's back office.
When clicking on the 'Modules and Services' button, PrestaShop sends a request to get the latest add-ons available in the store.
Since PrestaShop is made by incompetent people, the API server is of course very slow.

To incapacitate that request, nothing more simple.
For this, navigate to classes and find the Tools.php file.
Now, go to approximately line 3353 (when the function addonsRequest starts) and add this:

public static function addonsRequest($request, $params = array())
    return false;
Enter fullscreen mode Exit fullscreen mode

It should now prevent PrestaShop to load indefinitely for nothing.

Top comments (0)