Okay
  Public Ticket #4558133
Performance issues with B2BKing for logged-in users
Closed

Comments

  •  1
    maelle started the conversation

    Hello,

    I am experiencing significant performance issues on my website since using B2BKing.

    My setup is the following:

    • WooCommerce
    • Astra theme
    • Elementor
    • NitroPack for caching and performance

    While NitroPack generally improves page load speed for visitors, I am facing two major issues:

    1. Pages can sometimes still be quite slow to load
    2. Once a user is logged in, performance becomes extremely poor (very slow loading times)

    It seems that caching is not effective for logged-in users, possibly due to dynamic pricing or B2BKing-related features.

    Could you please advise:

    • if there are recommended settings to improve performance with B2BKing,
    • whether certain features (dynamic pricing, user groups, etc.) significantly impact speed,
    • and if there are best practices to optimize performance for logged-in users?

    Thank you in advance for your support.

  •  2,724
    WebWizards replied

    Hi Maelle,

    Thanks for reaching out and sorry to hear about the performance issues.

    This is something we can look into. I'd suggest starting with the recommendations in our optimization guide here: https://woocommerce-b2b-plugin.com/docs/speed-performance-issues-optimization-guide/

     

    A few specific steps I'd recommend:

    1. First, try deactivating B2BKing temporarily and test if performance improves. This helps us confirm whether the issue is directly connected to our plugin or something else on the site.

    2. If you're using product visibility features, go to B2BKing -> Settings -> Other and enable the "Product Visibility Cache" setting - this can make a big difference.

    3. Also try adding this code snippet (in your theme's functions.php or a code snippets plugin): https://pastecode.io/s/7vxenovw - this can help resolve some conflicts that affect performance.

     

    If you find that the issue is directly connected to B2BKing and goes away when the plugin is deactivated, we're happy to investigate further. We can run code timing tests to pinpoint exactly where the bottleneck occurs. For that, we'd need a backend login to the site or a staging clone site we can work on.

     

    Kind regards,
    Stefan