• What is the default TTL for this plugin?

    Is it 1 year? Because for woocommerce site, 1 year seems not good choice. Because homepage usually will show the most tranding or newest product everyday.

    How to invalidate cache which older than 24hours?
    Is there any way to set this setting for page level? For example I want only homepage will be invalidated every 24hours. Other page will be 1 week.

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Is it 1 year? Because for woocommerce site, 1 year seems not good choice. Because homepage usually will show the most tranding or newest product everyday

    – For CF CDN TTL yes it is 1 year but do note that just because it is 1 year doesn’t mean that CF will necessarily cache it for 1 year. For browser cache, it is 60 seconds. I would recommend not to tinker with the default TTL set by the plugin unless you understand what you are doing.

    When you add or update item in WooCommerce, the plugin will automatically purge the product and it’s related page if they are being cached.

    You can also read this article: https://acnam.com/untold-truths-of-cloudflare-cdn/ to understand how the CDN CDN Caching works under the hood.

    Is there any way to set this setting for page level? For example I want only homepage will be invalidated every 24hours. Other pages will be 1 week.

    – Well, you can run a CRON Job maybe to purge the cache on every 24 hours?

Viewing 1 replies (of 1 total)
  • The topic ‘Purge cache TTL…’ is closed to new replies.