Home Forums WoodMart support forum Infinite scrolling performance issues since update to latest theme version

Infinite scrolling performance issues since update to latest theme version

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #258124

    S.G.
    Participant

    Hi,

    We’ve noticed severe performance issues that get worse the more you scroll down product listing pages: Browser freezing / content not loading / ‘web page using significant energy’ error showing after a while.

    We’ve investigated different possible causes (including reverting latest code changes, switching infinite scrolling off, removing child theme, reverting back to older theme version) and we’ve worked out that these issues are only caused with infinite scrolling turned on in the new theme.

    It seems that in the new version (5.3.6), when infinite scrolling is turned on, all products are loaded at once with the initial load or first scroll. We know that because if you stop after just a few ‘loads’ and wait several minutes, you can scroll all the way down to the bottom of the page in one go.

    I’ve attached screenshots of CPU performance. The first two are infinite scrolling with the new theme (the second worse one is later on on the same page). The third is infinite scrolling with v5.2.0.
    The charts for the new theme with infinite scrolling turned off was similar to #3.

    Hope this is useful and that you can resolve those for us so we can update again.

    Thanks,

    Attachments:
    You must be logged in to view attached files.
    #258280

    Artem Temos
    Keymaster

    Hello,

    Thank you for contacting us. To check these issues in details we need the following information from you:

    1. Your staging website admin and FTP access.

    2. Detailed algorithm of actions that you perform to see this problem.

    2. Access to your server’s live-time monitoring tool where we can see your CPU loading.

    4. Install both versions of our theme so we can compare their performance.

    Kind Regards

    #259497

    S.G.
    Participant

    Dear Artem,

    This is an unreasonable request and we obviously cannot give you that level of access to a site with personal customer information.
    We have done extensive testing to try to get to the bottom of this, including testing it on both versions of the theme, and we have shared everything we had found with you. But to ask us for ‘detailed algorithm of actions’ (whatever that is) and to create two working instances is taking it a bit far.
    We’ve provided you with more than enough information to go and try to investigate the matter and I’m sure you have better diagnostics tools than we have in order to do that.

    Can you please investigate on your side based on all the information we’d provided?
    If there are specific, reasonable questions that we can help answer once you’ve looked into the matter, we’d be happy to do that.

    Thank you,
    SG

    #259606

    Artem Temos
    Keymaster

    Hello,

    We have tested our server’s performance with infinite scrolling and it works without any problems. But our server is different and that is why we need to test it on your side to be able to reproduce the problem.

    Regards

    #260098

    S.G.
    Participant

    Hi Artem,

    I see your point.
    We’re unable to provide you with some of what you’d asked for, but to allow you to investigate, we’ve created a separate instance, removed all sensitive data and updated to the latest theme version. See access details in the private content section.

    We have also created a recording of the casting tool (Kazam) when scrolling down the listing page for you. Download link below too.

    Thanks,
    S

    #260202

    Artem Temos
    Keymaster

    Hello,

    We need your FTP access and ability to monitor your CPU load to reproduce the same algorithm as on the video.

    Kind Regards

    #260248

    S.G.
    Participant

    Dear Artrem,

    To protect our customers I cannot share FTP access with you. We are running a health business and our clients’ privacy is paramount. And that CPU monitoring tool is not mine to share.
    While I can see they would perhaps make your task a little easier, not having that access isn’t stopping you from investigating. The CPU tool merely mirrors what you can see with your eyes as you keep on scrolling, as described in my original message.

    Both myself and our developer spent several hours each yesterday, paid for by our client, in order to prepare a safe instance of the site for you to investigate. Please do your best to investigate.

    Kind regards,
    S

    #260351

    Artem Temos
    Keymaster

    Hello,

    Try to replace files in the folder woodmart/js/ with the following https://drive.google.com/file/d/1zB2Hl8ddEPaLmQ4QnA8vr9h1vUfDjtPZ/view
    Then clear your browser cache and test again.

    Kind Regards

    #260562

    S.G.
    Participant

    Hi Artem,

    Thank you.
    We’ve replaced it. It does seem to have improved things. Can you please have a look and confirm?

    If this indeed solves it, what’s the next step? Will you be providing us with a patched theme and include these fixes in the next official release? What’s the expected release date of that?

    Kind regards,
    S

    #260570

    Artem Temos
    Keymaster

    Hello,

    Please, send us a link where we can see this on your website now.

    Kind Regards

    #260578

    S.G.
    Participant

    Hi Artem,

    It’s the same link in the private section of my message from 2 days ago.

    Kind regards,

    #260594

    Artem Temos
    Keymaster

    Hello,

    We can’t view that page because of the server authentication window. We need its username and password.

    Kind Regards

    #260600

    S.G.
    Participant

    Oh, sorry. I forgot to include them last time. See private section below.

    My apologies.

    #260609

    Artem Temos
    Keymaster

    As we can see, the fix is applied and now it works much better https://gyazo.com/fdab4f0cc330f41ae8666748d1cabdcf

    Can you try to clear the cache and check again?

    #260612

    S.G.
    Participant

    Hi Artem,

    I think you may have misread my message? I was saying that it does seem to have improved on my side, I was just asking you to confirm on your side and to let us know what the next steps are going to be:
    Will you be providing us with a patched theme?
    Will you then include these fixes in the next official release?
    What’s the expected release date of that?

    Thanks,
    S

    #260614

    Artem Temos
    Keymaster

    Sorry, yes, my bad.

    Of course, we will include this fix in our theme update for sure. Just keep these files temporarily. We are working on a big update that will be released in 5-7 weeks. Sorry for the inconvenience.

    #260651

    S.G.
    Participant

    Thanks for your help with this, Artem.

    Kind regards,
    S

    #260683

    Artem Temos
    Keymaster

    You are welcome! Feel free to contact us if you have any questions.

Viewing 18 posts - 1 through 18 (of 18 total)