• Resolved eran1820

    (@eran1820)


    Hello,

    We have an issue with header mini cart not updating.

    When adding a product to cart and returning to home page or any other cached page the min cart is not updated.

    I tried to add mfunc tags around the mini cart but it is not working for me.

    Any solution for this?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @eran1820

    Thank you for reaching out and I am happy to help!

    I’ve tried to test this and I was not able to replicate the issue. Can you please let me know if the W3 Total Cache is disabled at the moment?
    If it is, re-enable the plugin, and disable the cache-control header and the expires header for HTML&XML in Performance>Browser Cache. Make sure to save all settings and purge the cache.
    Let me know if this helps!

    Thanks!

    Thread Starter eran1820

    (@eran1820)

    Hello,
    I enabled the module, The settings was disabled already.
    https://ibb.co/HhSJbxP

    It looks like the site is not cached now, The pages are slow, Can you take a look?

    We are using WPML, Do you recomment to buy the pro for this?

    Thread Starter eran1820

    (@eran1820)

    Hi again,

    After enableing the module I see the cache is working.

    When adding a product to cart and returnig to previuse page I see in console:

    Cache-Control: max-age=0

    And the site is not cashed.

    I mean, The mini cart now works but after adding to cart the site stoped being cached

    Thread Starter eran1820

    (@eran1820)

    Hello

    I reviewed the doc of the module and managed to set it correctly.

    Thank you for helping.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @eran1820

    The reason for this is that the cart is icon is cached in the browser cache. the solution for this is that the BC is disabled and it should be Cache-Control: max-age=0

    Alternatively, you should check the options for the cart and see if it can be loaded with Ajax call, therefore bypassing the cache.

    Also, I am not sure how you used the Page Fragment Caching so please make sure to check our documentation.

    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @eran1820

    Sorry I missed your reply there.
    Glad to know it’s working now.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Flatsome theme header’ is closed to new replies.