Shop page – ajax filtering sidebar – Loading time

Solved12 replies2 participantsUpdated by Nicolo

XStore documentationXStore shop page settings
  • Avatar: Nicolo
    Nicolo
    Participant

    Hi there

    Im having issues with the ajax loading time on the shop page. It is the xstore widget sidebar.

    1. It is very slow.
    2. It has like this blink white flash.

    Video:
    https://drive.google.com/file/d/1ZcHSaEMBPja7G95yYkJWzs2W_owVeYmR/view

    Link:
    https://elmate.no/alle-produkter/

    Wondering what the root cause of this issue is?

    And how can we fix this?
    Its an important performance feature for the end user, so i re-updated my license to attack this specific issue with you.

    Looking forward to your reply 🙂

    I added the login credentials in case you need access

    Please, contact administrator
    for this information.

    12 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Nicol,

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Nicolo
    Nicolo
    Participant

    Hi Andrew

    Glad to hear from you

    I added it in the private area.

    Lookinf forward to hearing from you again as soon as possible.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Nicolo,

    Thank you for providing access. We have made some fixes-please review them at your convenience.

    Additionally, we recommend updating all plugins and ensuring they are always kept up to date to maintain optimal performance and security.

    Best regards,
    The 8Theme Team

    Avatar: Nicolo
    Nicolo
    Participant

    Hi Andrew, can i please ask what you did?

    What was the root cause of the issue? and what did you change?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Nicolo,

    We are pleased to inform you that we have implemented an optimization of AJAX requests. These improvements are now available in the latest update.

    The following files have been modified as part of this update:

    - themes/xstore/framework/woo.php  
    - themes/xstore/framework/theme-functions.php

    Should you have any questions or require further assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Avatar: Nicolo
    Nicolo
    Participant

    We are pleased to inform you that we have implemented an optimization of AJAX requests. These improvements are now available in the latest update.

    – Was it the DB queries? Did you add indexes, or? Please do fill us in?

    – Are the files are compatible to work with object caching for faster loading. Specifily, is it compatible to work with Docket Cahce?
    https://wordpress.org/plugins/docket-cache/

    If not, with redis?

    Looking forward to your reply on this, as the site is heavily depended on the ajax request speed.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    There have been no changes to the database queries, and there should be no issues related to caching either.

    Best regards,
    The 8Theme Team

    Avatar: Nicolo
    Nicolo
    Participant

    Ok great to hear that, and great that there are no issues to caching.

    But if you did no changes to the database queries, then what is the ajax optimization that you performed?

    Looking forward to hearing your reply

    Reagrds

    Avatar: Nicolo
    Nicolo
    Participant

    To be honest

    there is still very slow loading time + blinking still there..

    Have a look:

    https://www.loom.com/share/e198a8d9e66f4cac8025cba2e8acb377

    https://elmate.no/alle-produkter

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Nicolo,

    The loading speed of AJAX directly depends on the server response time. This means that the filter results cannot be loaded faster than the page with the corresponding filter itself.

    Best regards,
    8Theme Team

    Avatar: Nicolo
    Nicolo
    Participant

    Ok thanks

    How can we remove the blinking?

    Avatar: Nicolo
    Nicolo
    Participant

    Thanks for the support! My topic “Shop page – ajax filtering sidebar – Loading time” has been successfully resolved.

The issue related to '‘Shop page – ajax filtering sidebar – Loading time’' has been successfully resolved, and the topic is now closed for further responses