Performance Issues with Fragment Loading and Caching in Theme

This topic has 4 replies, 2 voices, and was last updated 1 months ago ago by Luca Rossi

  • Avatar: maybendeler
    maybendeler
    Participant
    October 17, 2024 at 21:20

    I have a lot of issues witht he speed optimalization of the theme. You guys sell the theme as a fast working theme, but unfortunately I don’t experience that and I see this being fixed very soon…

    Furthermore, there seems to be an error in the theme. When you load a page, for example, https://hippepeer.nl/product/fresk-rugzak-walvis-groot/, the cached page is fetched the second time. However, after that, several ‘fragments,’ or parts of the page, are fetched separately. The wishlist and shopping cart are the most important (I believe also the categories on the homepage and such, where you see a spinning loading indicator). There are two problems with this:

    – They are not properly cached.
    – They are fetched multiple times, with the shopping cart being fetched three times exactly the same, each time taking between two and three seconds.

    Now, the page is displayed before the fragments are loaded, but this does result in a slower website because the server seems to be quite busy with it. And on the homepage, where the categories appear later, it gives a slow impression.

    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    October 19, 2024 at 09:50

    Hi @maybendeler,

    Sorry to hear that your website’s having the issues, our XStore theme is fully compatible with Litespeed cache plugin.

    1. Testing plugins and custom codes conflict:

    – Disable all non-essential third-party plugins that are not included in the XStore theme package. A list of plugins that are part of the XStore package can be found here: [Included Plugins](https://www.8theme.com/documentation/xstore/plugins/included-plugins/). After deactivating the unnecessary plugins, please clear your browser’s cache and verify if the performance issue persists. This is an important step as third-party plugins can often lead to conflicts.

    – Temporarily disable all your custom codes in your child theme to make sure this issue is not coming from your custom codes.

    2. Disable the Always load “wc-cart-fragments” setting under XStore > Speed Optimization: https://prnt.sc/OGS0Wi6_0DSG

    3. Please make sure you setup the Litespeed cache plugin correctly. Here is the document: https://docs.litespeedtech.com/lscache/lscwp/.

    Best Regards,
    8Theme’s Team

    Avatar: maybendeler
    maybendeler
    Participant
    October 20, 2024 at 12:40

    Good day, I have already implemented these improvements but without success. Can you please help me with setting the correct settings on the speed tab in theme customization?

    Avatar: Justin
    Luca Rossi
    Support staff
    October 22, 2024 at 13:44

    Dear @maybendeler,

    We hope this message finds you well.

    1. The loading icon on each widget is part of the Ajaxify feature in the XStore theme. If you would like to disable this feature, please refer to the following link for guidance: [https://www.8theme.com/topic/my-website-is-extremely-slow-on-mobile-i-have-checked-all-settings/#post-401212](https://www.8theme.com/topic/my-website-is-extremely-slow-on-mobile-i-have-checked-all-settings/#post-401212).

    2. After disabling the “Always load wc-cart-fragments” setting, the product page appears to be loading correctly now: [https://hippepeer.nl/product/fresk-rugzak-walvis-groot/](https://hippepeer.nl/product/fresk-rugzak-walvis-groot/). Could you kindly confirm if everything is functioning as expected?

    Best regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.