Deployment updates to my Pages site are not reflected on the main url anymore
deployment url with 52570bff works fine as expected but the main page it doesnt seem to be reflected. maybe because i deleted all sites and only want to display a message on the 404 page at the moment. i also tried deleting the pages project but it gives me an error
9 Replies
picture of the error:
i just want to display a goodbye message and later delete the site
my new 404 page seems to exist, but all the sites i deleted are still there. i guess since they are cached- how to delete the cache
i would like to just purge my cache so that my 404 message can be displayed
i solved it by usinge _redirects. but that just a hack for me
wish cloudlflare had an option to purge the cached sites
if you have over 100 deployments it's because of them, would need to use the delete script to remove
If you had Pages which existed and now are gone, and you're relying on it to serve the 404.html, you're probably hitting the Asset Retention cache: https://developers.cloudflare.com/pages/configuration/serving-pages/
We will insert assets into the cache on a per-data center basis. Assets have a time-to-live (TTL) of one week but can also disappear at any time. If you do a new deploy, the assets could exist in that data center up to one week.It lives on the pages.dev, you can't clear it other then waiting for expiry/eviction
Cloudflare Docs
Serving Pages · Cloudflare Pages docs
Cloudflare Pages includes a number of defaults for serving your Pages sites. This page details some of those decisions, so you can understand how …
where can i find this delete script btw?
Cloudflare Docs
Known issues · Cloudflare Pages docs
Here are some known bugs and issues with Cloudflare Pages:
thank you very much kind sir
(it says over 800 on that page but currently there's a bug making it 800000 with over ~100 or so deployments)
i had 150 deploys
deleting them fixed the deletion issue