arvidarvidarvid
CDCloudflare Developers
•Created by arvidarvidarvid on 4/23/2024 in #pages-help
Depending on my network, I'm incorrectly served different responses from pages
pages.dev: garden-frontend.pages.dev
custom domain: allatradgardar.se
account ID: a9b7ddc7f911b443856daf4d12413e08
I have started developing a remix app that I'm deploying to CF Pages. I have attached a custom domain to my pages app.
When I'm on my home network, and access the custom domain, I'm getting the correct page -reflecting the most recent deployment. When I'm accessing the [app-name].pages.dev I'm getting that same content regardless of network.
The really weird thing is that from some other networks (a friend tried, and the same thing when hotspoting from my phone) I'm getting completely different content when going to the custom domain. From this other network I'm still getting the correct content from the most recent build when accessing [app-name].pages.dev
The page that I'm incorrectly served is a very early (possibly the first) version of the app that I deployed, basically just blank page with my intended site name in the page title (so I know that this is my content, just not the recent one)
To get out of this I have:
1. Purged the cache for the custom domain using the CF control panel
2. Re-run the deployment
3. Pushed a new version of my code and had it deployed, the re-run that deployment.
4. Confirmed using nslookup on my local machine, that the custom domain resolves to the same IP (cloudflare) on both networks
As far as I can tell I'm connecting to the right place from both networks, but something on the cloudflare side is choosing to serve different content.
Any ideas on how to proceed?
24 replies