#Changes are not being updated
42 messages · Page 1 of 1 (latest)
are you using cloudlfare caching?
Hi Brody! I'm not using cloudfare . Just directly linking from github repo
can you provide the custom domain
Yes but will this conversation be public as I don't want people to see the link
nevermind I can delete the link part after
ok here it is
so currently there are changed you've made and deployed, but they dont show on that page?
Yes for example the first project for the iphone game is linked to an old github.io link and I want the recent one I made with railway to link to the demo button.
are these the correct links for github and demo
yes! the railway one needs to link but another old one shows instead when you click demo
have you tried clearing browser cache?
yes I can try again
please wait thanks
Ok that worked! Thank you! Is it ok if I ask you another question related to another project or should I create a new post it's regarding DNS.
i havent even told you why that worked though lol
Ok please tell lol
your browser cached the assets for zarawazir.up.railway.app
and your assets dont have hashes, so chrome didnt know they updated
you have
<script src="assets/js/main.js"></script>
but an asset with a hash would look like
<script src="assets/js/main.fhg83nmv8.js"></script>
then the browser fetches the new file and the changes are properly displayed
Good to know! I'll make sure to test and clear the cache if I ever come across this issue again.
Ok i'll update that code
builders like vite can hash the files for you, and make development a lot easier, i recommend looking into using vite
you can ask here!
Would it work now I know it would take atleast 24 hours to go live
pictures are worth 1000 words, so can i see a screenshot of the domains set in your railway service settings?
LOL! yes one moment
yeah just as i thought, google domains doesnt support root level cnames, you will have to use cloudflare's nameservers
they have a guide for that here
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
feel free to ask if you need help with anything
I see ok thanks for letting me know. If you don't mind could you delete my personal links thanks 🙂
,From the chat as I can see others posts so I'm assuming mine will show as well.
i have, but you didnt need to delete your original message
I'm not familiar with discord whoops.
ah no worries
so if you have any issues with dns going forward, and its taking more than 3 hours tops, open another thread please
I will! Just before you go i'm assuming I can use my custom google domain with cloudflare?
yes you can, you dont need to do a domain transfer, you only have to use cloudflares nameservers
Got it! Again thank you for all your advice and instructions. Was very easy and prompt. Railway is awesome. Have a great rest of your day!