• Resolved visheshguptha0

    (@visheshguptha0)


    I want to purge the cloudflare cache automatically every 24 hours. This is due to I want fresh cache to be built every 24 hours as it is caching everything, it needs to be refreshed.

    I also use Litespeed, when the page is accessed for the first time, cloudflare cache is built and litespeed cache always shows missed. When I purge cloudflare cache, on headers, next time, both litespeed and cloudflare cache shows hit.

    So, what to do if I want cloudflare to flush the existing cache and built new cache every 24 hours.

Viewing 2 replies - 1 through 2 (of 2 total)
  • just use the cronjob url. you can find it in your backend: super page cache -> Purge the whole Cloudflare cache via Cronjob.

    your hoster most likely offers a cronjob function (sometimes called “planned functions”), where you can add your task to run every 24 hours, automating processes. In your case: “visit a URL every 24 hours”

    Plugin Support Kush

    (@kushnamdev)

    Hi @visheshguptha0,

    Thank you for contacting us.

    Yes, the suggestions shared by @schnabul is correct, you can use a cron to hit the purge cache URL every 24 hours, the url can be found under Advanced Settings > Purge the whole Cloudflare cache via Cronjob.

    I hope this helps, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Auto Cache Purge’ is closed to new replies.