Deleted page appears cached

Hello! We have deleted a page on our site, but it appears to still be cached in pages. Pages: https://owid.pages.dev/communications-outreach-manager-q4-2023 (removed, 404) Site: https://ourworldindata.org/communications-outreach-manager-q4-2023 (cached, remains) DNS has a CNAME record proxying to the pages domain with auto TTY. Any suggestions on how to get pages we remove deleted from our site?
3 Replies
Chaika
Chaika8mo ago
You're probably hitting Pages Asset Retention cache: https://developers.cloudflare.com/pages/platform/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.
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 …
ethicsgradient
ethicsgradient8mo ago
Thanks Chaika, that seems like it could be the case. I guess that if the cache is unavoidable and unpredictable, would that mean we'd have to ship some kind of tombstones to properly delete pages we want to remove right away?
Chaika
Chaika8mo ago
You have a few other options too, like using Redirect Rules to redirect requests to a 404, _redirects file, or bulk redirects