• Resolved horiamar

    (@horiamar)


    I read about similar problems (about one year ago), woocommerce seems to hinder sometimes the caching of a website, not only for the pages that contain personal information (which should never be cached, like the cart, account, etc.), but for ALL pages of a WP-website.

    In my case, no matter what I would do, the pages of the website were not cached by the CDN (cloudflare). They showedX-Proxy-Cache: MISS instead of X-Proxy-Cache: HIT!

    what I was able to do, is to deactivate the following:
    woocommerce > settings > advanced > woocommerce.com > Enable tracking, Allow usage of WooCommerce to be tracked.

    after I deactivated this, the site started to be cached normally, so I received X-Proxy-Cache: HITand also when testing various pages of the given site in cloudflare, they showed as being cached. Also, the load speed of many pages went down from 5 seconds to 1 second.

    Using woocommerce 5.4.1 and WP 5.7.2 on a Siteground host, with cloudflare and “SG optimizer” cache plugin.

    • This topic was modified 3 years, 4 months ago by horiamar.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    Using woocommerce 5.4.1 and WP 5.7.2 on a Siteground host, with cloudflare and “SG optimizer” cache plugin.

    I believe WooCommerce does not declare support for Cloudflare or SG Optimizer currently. But if Cloudflare and SG Optimizer do declare support for WooCommerce, they might have some fitting technical documentation we can take a look with you together.

    Kind regards,

    Thread Starter horiamar

    (@horiamar)

    @conschneider thanks for your fast reply!
    I discussed this with Siteground too.
    They say that it is a problem of woocommerce, if the plugin is generating cookies that hinder cloudflare and the cache plugin (SG Optimizer) to cache the content of wordpress.

    I will comeback with cURL test results that show what is exactly happening, perhaps you could give me a hint in the direction of a solution…

    Plugin Support Tseten a11n

    (@tibetanitech)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘tk_ai cookie preventing cloudflare caching?’ is closed to new replies.