Home Forums WoodMart support forum Caching issue with the basket

Caching issue with the basket

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #701882

    vynil
    Participant

    Hi, I’m having a caching issue with the basket. Please check the video. Could you please provide the JS that I need to exclude from being cached? After clearing the cache, the issue is gone.

    Thanks in advance.

    #701942

    Hello,

    Try to exclude the cart page URLs from being cached from the plugin settings and check the issue.

    Best Regards,

    #702004

    vynil
    Participant

    Do you mean that there’s no JS script that needs to be excluded? Are you sure about that?

    #702031

    Hello,

    Please let us know which cache plugin you are using (WP Rocket, LiteSpeed, SiteGround Optimizer, etc.). Once we know that, we can advise exactly what (if anything) should be excluded for your setup.

    Best Regards,

    #702039

    vynil
    Participant

    LiteSpeed

    #702062

    Hello,

    In general, Wishlist, Cart and Compare pages should not be cached at all, so I suggest you exclude those pages from cache and recheck the issue.

    Please refer to the article for more details
    https://secure.lightningbase.com/index.php/knowledgebase/71/How-to-exclude-a-page-from-Litespeed-cache.html#:~:text=Log%20in%20to%20your%20WordPress,that%20should%20not%20be%20cached.

    Best Regards,

    #702065

    vynil
    Participant

    So you are sure that no JS script should be excluded, only the pages?

    #702079

    Hello,

    When using LiteSpeed Cache, you don’t need to exclude any specific JS files. The correct solution is to exclude dynamic WooCommerce pages (Cart, Checkout, Wishlist, Compare) from caching. Caching these pages causes the cart not to update properly.

    Best Regards

    #702080

    vynil
    Participant

    Great, thanks so much!

    #702095

    Hello,

    You’re Most Welcome!

    Feel free to write back anytime. If you need further assistance, we are always here to help you.

    If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme: https://tally.so/r/w4l54k

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘Caching issue with the basket’ is closed to new replies.