Best way to optimize loading time from source

minotaurow

New member
XNullUser
Joined
Nov 28, 2021
Messages
23
Reaction score
0
Points
1
NullCash
100
Is there any way to improve the loading time of PrestaShop v 1.6 or to add lazy image load from the source? If that's is not possible what modules would you recommend to use to increase the loading time?
 

maca91

New member
XNullUser
Joined
Nov 28, 2021
Messages
13
Reaction score
0
Points
1
NullCash
3
Could you specify your server environment? Maybe the problem is with the server perfermonace!

Anyway, if the problem is with images, you have to compress their. You can do it, in bulk mode, downloading all img folder with FTP, and, after, compress their with a program. I'm using JpegMini.

In other way, you can try installing this module:
Or this one:
 

minotaurow

New member
XNullUser
Joined
Nov 28, 2021
Messages
23
Reaction score
0
Points
1
NullCash
100
Hi maca91,

Thank your for the reply, it is a high performance server but we have around 80 modules installed, I don't find a way to load it correctly, we are debugging everything,

Anyway, if the problem is with images, you have to compress their. You can do it, in bulk mode, downloading all img folder with FTP, and, after, compress their with a program. I'm using JpegMini.

I will try that, the installation is on PS v1.6 so we need y way probably to add lazy image
 

maca91

New member
XNullUser
Joined
Nov 28, 2021
Messages
13
Reaction score
0
Points
1
NullCash
3
If you have some tech skills, you can easy add a lazy loading for images.
Now, html 5 implements lazy loading nativly. You should add:

HTML:
loading="lazy"

To all img tags:

<img src="[...]" loading="lazy" />

I cant't tell you where go or what to edit, 'cause depends from the theme and plugins. Certanly, you have to edit some files in the theme.

Probably exists a module to do that, but i advise against you to install new modules.
 

minotaurow

New member
XNullUser
Joined
Nov 28, 2021
Messages
23
Reaction score
0
Points
1
NullCash
100
Thanks, That's a great tip, I will try to add that option to the images and see if there are some improvements,
 

savvato

Member
XNullUser
Joined
Oct 22, 2021
Messages
40
Reaction score
2
Points
8
NullCash
15
If you have some tech skills, you can easy add a lazy loading for images.
Now, html 5 implements lazy loading nativly. You should add:

HTML:
loading="lazy"

To all img tags:

<img src="[...]" loading="lazy" />

I cant't tell you where go or what to edit, 'cause depends from the theme and plugins. Certanly, you have to edit some files in the theme.

Probably exists a module to do that, but i advise against you to install new modules.
best answer.
 

tst

Member
XNullUser
Joined
Sep 16, 2021
Messages
92
Reaction score
0
Points
6
NullCash
4
you can consider to switch to lightspeed server and use ligtspeed cache plugin, it does nice job in prestashop
 
Top