Images badges dupliqués ralentissant le site

  • Posts: 257
  • Thank you received: 7
10 years 11 months ago #136412

-- 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.

Attachments:
Last edit: 10 years 11 months ago by oliv. Reason: Réglé

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
10 years 11 months ago #136493

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.

The following user(s) said Thank You: oliv

Please Log in or Create an account to join the conversation.

  • Posts: 257
  • Thank you received: 7
10 years 11 months ago #136817

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.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
9 years 6 months ago #201696

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

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 6 months ago #201697

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.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
9 years 6 months ago #201728

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

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 6 months ago #201730

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum