• Resolved José

    (@zeh32)


    Hello,

    I don’t know if it is a normal behavior of the plugin, but on my e-commerce website, if I add a product to the shopping cart, all page optimizations (css, js, media, etc.) are disabled.

    I understand that the cache should be disabled to prevent errors, but what about optimizations? Is that okay?

    Regards

    • This topic was modified 1 year, 3 months ago by José.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please provide the report number

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter José

    (@zeh32)

    Hello,

    Report number: HBZGFXSC

    Regards

    Plugin Support qtwrk

    (@qtwrk)

    you added woocommerce_cart_hash to do not cache cookie

    when this cookie presents , as something is added to cart, the page will become no-cache , when page is not cacheable , it will bypass all the optimization as well.

    Thread Starter José

    (@zeh32)

    Hello,

    Yes, if I don’t add this cookie, the mini shopping cart icon in the header doesn’t indicate the number of items in the cart.

    Since I don’t use ESI features, it is acceptable for me to not use cache when a user adds something to his shopping cart.

    However, I don’t think all the optimizations should be disabled as well… Is this behavior really correct?

    Regards

    Plugin Support qtwrk

    (@qtwrk)

    yes, because optimization could consume a lot of resources and time , so if a no-cache page repeatedly get optimized , you will increase server load considerably

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No optimizations when products are added to the cart’ is closed to new replies.