Pages + Website Caching
Is there any way that I can trigger a cache purge any time there's a successful Pages build?
6 Replies
It isn't recommended to cache in front of Pages as Pages does it's own caching
does cloudflare not automatically handle that? my site is registered with the cloudflare registry, DNS operated by cloudflare, and hosted on cloudflare pages
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•2y ago
Message Not Public
Sign In & Join Server To View
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 …
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.