#Changes are not being updated

42 messages · Page 1 of 1 (latest)

craggy thornBOT
#

Project ID: N/A

flint perchBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

rocky frigate
#

are you using cloudlfare caching?

vocal condor
#

Hi Brody! I'm not using cloudfare . Just directly linking from github repo

rocky frigate
#

can you provide the custom domain

vocal condor
#

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

rocky frigate
#

so currently there are changed you've made and deployed, but they dont show on that page?

vocal condor
#

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.

rocky frigate
#

are these the correct links for github and demo

vocal condor
#

yes! the railway one needs to link but another old one shows instead when you click demo

rocky frigate
#

have you tried clearing browser cache?

vocal condor
#

No how would I do that?

#

on google I have

rocky frigate
#

that would depend on your browser

#

chrome?

vocal condor
#

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.

rocky frigate
#

i havent even told you why that worked though lol

vocal condor
#

Ok please tell lol

rocky frigate
#

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

vocal condor
#

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

rocky frigate
#

builders like vite can hash the files for you, and make development a lot easier, i recommend looking into using vite

vocal condor
#

Would it work now I know it would take atleast 24 hours to go live

rocky frigate
#

pictures are worth 1000 words, so can i see a screenshot of the domains set in your railway service settings?

vocal condor
#

LOL! yes one moment

rocky frigate
#

yeah just as i thought, google domains doesnt support root level cnames, you will have to use cloudflare's nameservers

vocal condor
#

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.

rocky frigate
#

i have, but you didnt need to delete your original message

vocal condor
#

I'm not familiar with discord whoops.

rocky frigate
#

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

vocal condor
#

I will! Just before you go i'm assuming I can use my custom google domain with cloudflare?

rocky frigate
#

yes you can, you dont need to do a domain transfer, you only have to use cloudflares nameservers

vocal condor
#

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!