CloudFlare Pages custom subdomain pointing to branch produces wrong build?
Hi, I have a cloudflare pages project, and I have two custom domains pointing at it (
app.example.com
and canary.app.example.com
). These custom domains are setup in the Pages configuration. This is my DNS config:
- app
→ a CNAME entry to example.pages.dev
- canary.app
→ a CNAME to dev.example.pages.dev
The canary.app.example.com
domain points to a specific older version of the project, and does not match dev.example.pages.dev
. What could have happened here?1 Reply
Upon further testing, when i created a new DNS entry:
-
testing.app
→ a CNAME entry to dev.example.pages.dev
then when visiting testing.app.example.com
it produces the correct result, but canary.app.example.com
still is now a single version behind. yes, the version it shows changed recently (?)
i feel so dumb rn: since my modules are dynamically loaded, the core module that loaded the others was cached, and thus it loaded older versions of the files, this was a cache issue (my bad)