6 months ago
I’m developing a website; however, my site is hosted on GitHub. When I make changes to the main branch, some of them are reflected, but others never show up. With the help of two different AIs, we came to the conclusion that there’s a caching issue. After several attempts, validations, and debugging, no problems were found in the code itself — instead, the changes never reached Railway.
The AIs told me to look for this option in 'Settings' within the service we are running D:
6 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 6 months ago
Railway
Hey there! We've found the following might help you get unblocked faster: - [🧵 Railway internal build caching issue](https://station.railway.com/questions/railway-internal-build-caching-issue-9d25924d) - [🧵 Github integration issue](https://station.railway.com/questions/github-integration-issue-ae8a95ee) - [🧵 Deployments appear to be stuck](https://station.railway.com/questions/deployments-appear-to-be-stuck-2c93ad99) - [🧵 Github Issue](https://station.railway.com/questions/github-issue-e6622ec2) If you find the answer from one of these, please let us know by solving the thread!
6 months ago
Not solved D:
6 months ago
An easy bypass to bypass cache is simply add an empty query param to the end of your domain!
Say its railway.com add a little ?thing=value to it. So, railway.com/?foo=bar.
If its hosted on github pages, are you using the github domain or a custom one?
6 months ago
@josuensoto can you share more details about this? "With the help of two different AIs" - I wouldn't necessarily trust what the AIs are telling you here. Is the code open source, or public somewhere, so that we can take a look?
E.g. is Github Actions doing your building and deploying? Or are you using GitHub Pages without GitHub Actions? Which web framework are you using? Do you have any debug logs from the build and deploy steps? Etc.
4 days ago
I have this same issue and I need a way to "Clear Build Cache" on Railway. How do we do this?
3 days ago
I had an issue where it wouldn't load the latest commit from GitHub.
The deployment crashed on an old commit and kept failing.
I added this variable and it worked: NO_CACHE=1