Jump to content

Configurable options causing slowness on products


SeanP

Recommended Posts

I have a lot of configurable options for some of my products (needed for a custom server module).  This makes the load time of these products slow on the web site.  It can take 5-7 seconds for the products to even display on the page, once you click on the product group.  Is there anyway to increase the speed for these products (database indexes, etc)?  I have tried adding CPU and memory to my server, but it doesn't seem to help.  I have even tried performance tweaks for MySQL 8.0 without any luck.  I think the way WHMCS accesses products with large sets of configurable options, is not very efficient.

Edited by SeanP
Link to comment
Share on other sites

One on the product groups has 2 products with a combined total of around 1k to 1.5k configurable options.  Of course, the majority of these options are not displayed to the client, and are only used internally for a custom module.

Link to comment
Share on other sites

25 minutes ago, WHMCS John said:

Hi @SeanP,

What's the filename of the page or action upon which you experiencing slow loading exactly? For example is it /admin/configproducts.php , or cart.php?

Which version of WHMCS are you running?

 

Hi @WHMCS John,

It's happening on the client side (cart.php).  When you click on the product group on our web site, it is delayed showing the products.  The admin side doesn't have any speed issue. 

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @SeanP,

We've made improvements in this area in recent years, so please ensure you're running 8.7 and above to benefit from these:

 

CORE-16706 — Add indices for pricing table

https://docs.whmcs.com/releases/8-3/8-3-change-log/#830-general-availability

CORE-17665 — Improve cart performance with several thousand configurable option values

https://docs.whmcs.com/releases/8-7/8-7-change-log/#870-beta-2

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated