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
No description
9 Replies
undefined
undefinedOP4mo ago
picture of the error:
No description
undefined
undefinedOP4mo ago
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
Chaika
Chaika4mo ago
if you have over 100 deployments it's because of them, would need to use the delete script to remove
Chaika
Chaika4mo ago
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 …
undefined
undefinedOP4mo ago
where can i find this delete script btw?
undefined
undefinedOP4mo ago
thank you very much kind sir
Chaika
Chaika4mo ago
(it says over 800 on that page but currently there's a bug making it 800000 with over ~100 or so deployments)
undefined
undefinedOP4mo ago
i had 150 deploys deleting them fixed the deletion issue
Want results from more Discord servers?
Add your server