Support » Plugin: Comet Cache » How to enable comet cache on woocommerce

  • Resolved ilithio

    (@ilithio)


    First of all, congratulations for the plugin, it’s great! I would like to enable the cache on woocommerce (home page and product page). How can I do?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Raam Dev

    (@raamdev)

    @ilithio There’s nothing special that you need to do to get Comet Cache working with WooCommerce. It works with all the default settings.

    I just tested Comet Cache with the latest version of WooCommerce and the default WooCommerce Storefront theme—Comet Cache cached the home page and the product pages as expected.

    If you’re not seeing the home page or the products page being cached, that means that either the theme you’re using, or some plugin that you have installed, is disabling caching.

    Thread Starter ilithio

    (@ilithio)

    my woocommerce doesn’t work with cometacache sigh.
    Can i set up it with this?

    Plugin Author Raam Dev

    (@raamdev)

    @advisorexpertwordpress I just tested Comet Cache + WooCommerce + Storefront theme using all of the example products that WooCommerce provides and Comet Cache worked just fine. WooCommerce sets the DONOTCACHEPAGE constant on any pages that are not cache-compatible and Comet Cache obeys this constant so that it doesn’t cause any problems for WooCommerce.

    Thread Starter ilithio

    (@ilithio)

    @raamdev my theme i think uses DONOTCACHEPAGE in woocommerce pages.. can i disable them? how?

    • This reply was modified 3 years, 8 months ago by ilithio.
    Plugin Author Raam Dev

    (@raamdev)

    @ilithio If your theme uses DONOTCACHEPAGE then your theme is likely not compatible with WordPress caching plugins like Comet Cache. The DONOTCACHEPAGE constant is something that all WordPress caching plugins use and it’s a way for other WordPress plugins and themes to tell the active caching plugin that a particular page should not be cached.

    If you remove the DONOTCACHEPAGE constant and force Comet Cache to cache the page, you will likely break the theme. I recommend contacting the theme developer to ask them how you can make the theme cache-compatible.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to enable comet cache on woocommerce’ is closed to new replies.