PrestaShop module 1.6 to 9.x

Your pages show before your scripts

The shop's scripts are deferred, the chat, the pixels and the analytics wait for the visitor, and an assistant picks the fastest configuration with Google PageSpeed. Everything is first tried in your own browser only.

3
pages measured by the assistant
50
third-party tools recognized, with advice
0
change for your customers during the test

01 - How it works

How does it work?

Three levers on JavaScript, without touching your theme

Deferred scripts

The shop's scripts are downloaded while the page is being built and run once the page is shown, in their order. jQuery and the scripts the others need stay protected by an exclusion list included with the module.

Third-party tools delayed

Analytics, advertising, chat: they only start on the visitor's first scroll, click, tap or key press, or after 10 seconds. They still work, the page simply shows before them.

Measured configuration

The assistant measures the home page, a category and a product with Google PageSpeed, without the module then with each configuration, and recommends the fastest one on the average of the three.

02 - Strengths

What sets it apart

Six design choices that make the difference day to day

Measured, not guessed
The assistant measures three pages with Google PageSpeed, without the module then with each configuration, and recommends based on the average. Differences of less than 3 points are treated as chance.
Advice for each tool
50 tools recognized: what can wait for the visitor, and what must stay with the page, such as the cookie banner, payment or anti-spam.
Tested before your customers
Everything is first tried in your own browser only, opened with a test link, and JavaScript errors are reported in the back-office with their fix.
jQuery protected
An exclusion list included with the module keeps blocking the scripts the others need: the menu and the cart keep working.
Tracked over time
The score of your home page is measured every week, with no cron job, and a drop of 10 points triggers an alert.
Simply explained
A three-step start, each setting explained in simple words, and a 16-question FAQ.

03 - Setup

Ten minutes, three steps

The Getting started tab guides you, and your customers see nothing before the last one

1 · Measure

The assistant

It measures your shop in 5 to 10 minutes and recommends a configuration, applied in one click.

2 · Test

Test mode

You browse the menu, a product page, the cart and the checkout in your browser; any errors are shown in the back-office.

3 · Enable

For everyone

One click, which you can undo at any time. The score is then measured every week and shown on your dashboard.

04 - Features

Complete features

Everything you need to go fast without breaking anything

defer or async
defer keeps the order of the scripts, which PrestaShop needs; async for independent scripts, for the whole shop or script by script.
Exclusion list
jQuery and its dependencies stay blocking. The Blocking scripts tab shows which ones, and each one can be released on trial.
Third-party tools delayed
Until the first interaction, or 10 seconds at most, adjustable, so that your analytics also count the visitors who touch nothing.
50 tools recognized
Analytics, advertising, chat, reviews, cookie banners, payment, anti-spam, maps: each one with clear advice.
Preconnect
The connection to the domains of the external scripts opens as soon as the page starts loading.
Test mode
A link valid for 24 hours applies the optimization in your own browser only, with a banner to leave it.
JavaScript errors
In test mode, the errors of your browser are reported in the back-office, with the page, the script and the suggested fix.
Before and after
The Performance tab compares the page without the module and with it, on the same day, on mobile or desktop.
Weekly measure
In the background, when the back-office opens, with an alert when the score drops by 10 points.
Dashboard
The PageSpeed score of your home page as soon as you log in to the back-office.
Pages left untouched
Checkout, cart or the page of a payment module, excluded by their name.
Caches
"Combine, Compress and Cache" handled, cache modules detected, LiteSpeed Cache cleared automatically.

05 - Comparison

Three ways to defer your scripts

They do not take the same risks

Comparison: editing the theme by hand, defer option of a cache module, MedOptimizeJs
Editing the theme by handDefer option of a cache moduleMedOptimizeJs
Shop scripts deferredFile by fileYesYes, defer or async
jQuery and its dependencies protectedUp to youDepends on the moduleExclusion list included
Third-party tools delayed until interactionNoRarely50 tools, with advice
Risk-free trial for customersNoNoTest mode in your browser
JavaScript errors reportedNoNoWith the fix to apply
Configuration chosen by measureNoNoGoogle PageSpeed assistant
Score tracked over timeNoNoEvery week, with alert
PrestaShop 1.6YesDepends on the moduleYes

The module does not replace a page cache or image optimization. It handles JavaScript and works alongside these tools.

The gain depends on how much JavaScript slows down your pages: the assistant measures it before you change anything, and tells you when the module brings little.

06 - Technical

Technical specifications

Designed for every version of PrestaShop

PrestaShop
1.6.1 to 9.x, thirty bees
PHP
5.6 to 8.4, cURL for the measures
Languages
Back-office in French, English, German, Spanish, Italian and Polish
Multistore
Yes
Database
No override, no table created or modified
Measures
Google PageSpeed Insights API, optional free key
License
Complete module without a license; the license enables update notifications and priority support

A faster shop, without risk for your sales

Measure first, test in your browser, then enable for everyone. MedOptimizeJs tells you what it brings before changing anything.