Pages + Website Caching

Is there any way that I can trigger a cache purge any time there's a successful Pages build?
6 Replies
Cyb3r-Jak3
Cyb3r-Jak316mo ago
It isn't recommended to cache in front of Pages as Pages does it's own caching
Sebastian
Sebastian16mo ago
does cloudflare not automatically handle that? my site is registered with the cloudflare registry, DNS operated by cloudflare, and hosted on cloudflare pages
Cyb3r-Jak3
Cyb3r-Jak316mo ago
I'm pretty sure that the CDN doesn't know a project is on pages. I just have a cache rule to disable it on my pages projects domains
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Cyb3r-Jak3
Cyb3r-Jak316mo ago
I still orange cloud for firewall and etc but just use a https://developers.cloudflare.com/cache/about/cache-rules/ to disable cache
Cache Rules (beta) · Cloudflare Cache (CDN) docs
Use Cache Rules to customize cache properties of your HTTP requests. For example, create a rule to specify how long to cache a resource in the …
JSON
JSON16mo ago
Oh thank you! I had a similar problem with the questioner, and I think it's a problem that search engines like Google don't do their job properly. I'm going to set ignore based on the host name through the cache rule and check it out.