Images badges dupliqués ralentissant le site
12 years 9 months ago - 12 years 9 months ago #136412
by oliv
Images badges dupliqués ralentissant le site was created by oliv
-- url of the page with the problem -- :
jardinpromo.com
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5.16
-- PHP version -- : 5.4.21
-- Browser(s) name and version -- : Tous
-- Error-message(debug-mod must be tuned on) -- : The following resources have identical contents, but are served from different URLs.
Bonjour,
Certes le site est lent et je cherche à diminuer au maximum les problèmes.
Grâce à GTmetrix je m'aperçois que les images des badges seraient dupliquées inutilement (si j'ai bien compris).
Comment y remédier?
Merci.
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5.16
-- PHP version -- : 5.4.21
-- Browser(s) name and version -- : Tous
-- Error-message(debug-mod must be tuned on) -- : The following resources have identical contents, but are served from different URLs.
Bonjour,
Certes le site est lent et je cherche à diminuer au maximum les problèmes.
Grâce à GTmetrix je m'aperçois que les images des badges seraient dupliquées inutilement (si j'ai bien compris).
Comment y remédier?
Merci.
Last edit: 12 years 9 months ago by oliv. Reason: Réglé
Please Log in or Create an account to join the conversation.
12 years 9 months ago #136493
by nicolas
Replied by nicolas on topic Images badges dupliqués ralentissant le site
Bonjour,
Oui, c'est parce que le système de badge n'utilise pas encore notre nouveau système de gallerie d'image et du coup, plutot que de sélectionner une nouvelle image par badge, vous l'uploadez à nouveau et du coup cela crée une copie.
Editez vos badges via phpmyadmin dans la table hikashop_badge et modifier le nom des images pour que vos badges utilisent la même images et ainsi vous éviterez ce soucis.
Oui, c'est parce que le système de badge n'utilise pas encore notre nouveau système de gallerie d'image et du coup, plutot que de sélectionner une nouvelle image par badge, vous l'uploadez à nouveau et du coup cela crée une copie.
Editez vos badges via phpmyadmin dans la table hikashop_badge et modifier le nom des images pour que vos badges utilisent la même images et ainsi vous éviterez ce soucis.
The following user(s) said Thank You: oliv
Please Log in or Create an account to join the conversation.
12 years 9 months ago #136817
by oliv
Replied by oliv on topic Images badges dupliqués ralentissant le site
Formidable Nicolas!
Avec cette méthode je passe de C 78% avec Page Speed Grade à B 86%!
Donc vivement le nouveau système de galerie d'image dans Hikashop.
Merci.
Avec cette méthode je passe de C 78% avec Page Speed Grade à B 86%!
Donc vivement le nouveau système de galerie d'image dans Hikashop.
Merci.
Please Log in or Create an account to join the conversation.
11 years 4 months ago #201696
by mullu
Replied by mullu on topic Images badges dupliqués ralentissant le site
Hello,
I have the same problem but i could not understand the solution.
Can you give more detail? What do I need to change via phpmyadmin?
best
Ali
I have the same problem but i could not understand the solution.
Can you give more detail? What do I need to change via phpmyadmin?
best
Ali
Please Log in or Create an account to join the conversation.
11 years 4 months ago #201697
by nicolas
Replied by nicolas on topic Images badges dupliqués ralentissant le site
Hi,
Go in your phpmyadmin and open the table hikashop_badge. There edit your badges and change their image in the "badge_image" column of each badge so that the badges with similar images will actually use the same image file.
Go in your phpmyadmin and open the table hikashop_badge. There edit your badges and change their image in the "badge_image" column of each badge so that the badges with similar images will actually use the same image file.
Please Log in or Create an account to join the conversation.
11 years 4 months ago #201728
by mullu
Replied by mullu on topic Images badges dupliqués ralentissant le site
Hi Nicolas,
As I looked at the gtmetrix messages again, i see that this problem occurs because of the image files of the products as you see as follows.
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 260.0KiB.
accessory.ch/media/com_hikashop/upload/r...e-weave-bracelet.jpg
accessory.ch/media/com_hikashop/upload/r...et.jpg?1431589803435
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 31.3KiB.
........
..
.
How can i fix this?
thanks
Ali
As I looked at the gtmetrix messages again, i see that this problem occurs because of the image files of the products as you see as follows.
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 260.0KiB.
accessory.ch/media/com_hikashop/upload/r...e-weave-bracelet.jpg
accessory.ch/media/com_hikashop/upload/r...et.jpg?1431589803435
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 31.3KiB.
........
..
.
How can i fix this?
thanks
Ali
Please Log in or Create an account to join the conversation.
11 years 4 months ago #201730
by nicolas
Replied by nicolas on topic Images badges dupliqués ralentissant le site
Hi,
So this has nothing to do with badges or this thread.
This double loading of the images seems to come from the custom products listing module display that you have on your frontpage.
Apparently, that's something either done by your template or a system plugin on your website.
Try to switch to the default Joomla template temporarily and you should not have that issue. In that case, I would recommend to check the issue with your template provider.
So this has nothing to do with badges or this thread.
This double loading of the images seems to come from the custom products listing module display that you have on your frontpage.
Apparently, that's something either done by your template or a system plugin on your website.
Try to switch to the default Joomla template temporarily and you should not have that issue. In that case, I would recommend to check the issue with your template provider.
Please Log in or Create an account to join the conversation.
Time to create page: 0.183 seconds