Slow generating of product page

  • Posts: 217
  • Thank you received: 4
7 years 3 months ago #287184

-- HikaShop version -- : 3.2.2

Hello,

I am still fighting with page speed. The biggest problem is that it takes a long time to generate content of pages that contain Hikashop, especially product view.

It takes about 4 - 6 seconds to generate content, sometimes twice more (without caching) – check attachment.



I have about 1 000 products and each have aprox. 70 variants. Is that too much for Hikashop or it should work good?


Please. can you advise where can be a problem?


Thank you,
Filip

Attachments:

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

  • Posts: 83778
  • Thank you received: 13565
  • MODERATOR
7 years 3 months ago #287185

Hi,

Well, on a product page, the system has to load each variant as if it was a product.
So it's like displaying a listing of 71 products if your product has 70 variants.
That can amount to a lot of HTML and that can also slow down the processing of the page.
Now I have seen websites with a few hundred variants for a product with loading times like than a second.
So it might be that this happens because on top of the 70 variants, you have content plugins or a lot of extensions doing processing on the pages, and/or you have a slow server, etc.

Now I'm not seeing the problem on the link you provided:
monosnap.com/file/52ne2hMfMFLxkgGfHaz0H4Ju4GOSAR
Compared to the home page:
monosnap.com/file/MMdqCYhLk5qnw2FJk1Cl5inKGmRQZX
The product page of HikaShop actually loads faster than the home page which doesn't have HikaShop.
And that product has 90 variant combinations...

But note that if the characteristic doesn't change the price or the quantity or anything else, it's better to use an option or a custom item field. It will take a lot less resources and will work the same.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum