Site works fine under cloudflare's domain, but my own (which is under cloudflare's dns stuff) breaks

I have a site at https://new-site-ahw.pages.dev/ with some basic html, css and js which works fine at the link there. However, when cloudflare pages uploads to my domain (whih I bought and run under cloudflare) https://new.isophes.com the html breaks. Both sites should have the same code inside of them, and it's open source at https://github.com/isophes/new-site Cloudflare pages pushes to both domains at the same time, so why does the pages.dev link work and mine doesn't?
GitHub
GitHub - iSophes/new-site: Updated portfolio (help)
Updated portfolio (help). Contribute to iSophes/new-site development by creating an account on GitHub.
No description
19 Replies
Sophie
SophieOP2w ago
This is how the domain is setup (new.isophes.com)
No description
Sophie
SophieOP2w ago
There aren't any build commands
Chaika
Chaika2w ago
broken how?
No description
Sophie
SophieOP2w ago
wait tf
Sophie
SophieOP2w ago
No description
Chaika
Chaika2w ago
It looks like you're using consistent js/css names so it's probably just a custom domain caching issue, but want to understand how its broken oh its just outdated?
Sophie
SophieOP2w ago
maybe its my browser??
Chaika
Chaika2w ago
browser cache could be part of it, the other unique part of it is Cloudflare cache which only happens on custom domain
Sophie
SophieOP2w ago
whats the cloudflare cache
Chaika
Chaika2w ago
just caches all the css/js by url
Sophie
SophieOP2w ago
i doubt it can be that?
Chaika
Chaika2w ago
I very much think it could
Sophie
SophieOP2w ago
okay how do i stop or reset that
Chaika
Chaika2w ago
it's unnecessary w/ Pages since it has its own internal cache. If you go to your website in Cloudflare dash, Caching -> Cache rules -> create rule Magic Link: https://dash.cloudflare.com/?to=/:account/:zone/caching/cache-rules/new, you can do Hostname eq new.isophes.com, then just Cache Eligibility -> Bypass cache
Sophie
SophieOP2w ago
lets see ok so ive done that, on chrome it's fine but on my firefox it's still the old site with some broken html resetting the data for firefox just doesnt work so weird tf
Chaika
Chaika2w ago
shift+refresh or try incongito
Sophie
SophieOP2w ago
ahhhh ty wait will anyone else who has visited before need to do that or just me
Chaika
Chaika2w ago
shift+refresh would have worked because it force cleared cache. It should be fine moving forward as there's no extra cache anymore
Sophie
SophieOP2w ago
thanks!

Did you find this page helpful?