Product List Selection takes up to a minute to load

  • Profile Image
    shoptgcm
    Asked on June 28, 2020 at 11:23 AM

    It takes between minimum 10 seconds to a minute to load a product option upon selection by our users on various networks.

    We have used low res photos as the thumbnails and have kept all widgets & details to a minimum.

    May I know how best to reduce this latency without cutting down my product options so that the selection is immediate?

  • Profile Image
    Niko_N
    Answered on June 28, 2020 at 01:22 PM

    Greetings,

    I've checked your form and still, some of your photos have a size of 1-2 MB that slows down the loading time of your products.

    You may try to compress photo sizes using online tools and use those photos instead:

    Online tools to compress .png or .jpeg photos:

    https://compresspng.com/

    https://compressjpeg.com/

    Alternatively, as your product images are not visible by their original size, you may decrease size of photos by decreasing their resolution/dimensions:

    https://www.reduceimages.com/

    Please give a try and let us know if you need any further assistance.

    Thank you!



  • Profile Image
    Ariel_P
    Answered on June 28, 2020 at 11:47 PM

    Hi there,

    Thank you for contacting Support.

    I'm currently looking at your form, I'll update you on this same thread as soon as I have some news.

  • Profile Image
    Ariel_P
    Answered on June 29, 2020 at 12:44 AM

    Greetings,

    Thank you for waiting.

    Since the event's on the quantity selection are all client side, the best way to optimize it is by reducing the number elements JavaScript has to deal with.

    For reference, here's the original state of the options:

    1593404615before.gif

    The click and display event takes about 8 seconds to finish.


    Switching the product option from DropDown to TextBox reduces the number of elements significantly, thus improving the execution time.

    1593405042after.gif

    Please refer to the following GIF on how to change your product option from DropDown to TextBox.

    1593405520totexbox.gif

    Give it a try and let us know how it goes.

  • Profile Image
    shoptgcm
    Answered on June 29, 2020 at 01:01 AM

    Hi Ariel_P,

    this workaround is great! it is significantly faster now.

    if there's any other way I can reduce the loading time of click & display event to become immediate, that would be great.

    Otherwise, this would suffice for now.

    many thanks!