DEV Community

Cover image for Accelerating PrestaShop 1.6
Jae Beojkkoch
Jae Beojkkoch

Posted on

2 2

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay