where can i see build and deploy settings , to change start command and clear cache or such sort of things?

kdvysali
FREE

4 months ago

so i need to clear cache but i cant find that option anywhere

$10 Bounty

3 Replies

mycodej
HOBBY

3 months ago

Hey @kdvysali,

To change the start command or clear the cache on Railway, you’ll want to head over to your Service Settings. Under the Builds section, you can configure things like the build and start commands. If you’re using something like a Procfile, Railway will also respect that.

To clear the cache, there's no dedicated "clear cache" button, but you can force a fresh build by adding an environment variable. Just go to your Environment Variables section and add:

NO_CACHE = 1

Then redeploy the service — that will trigger Railway to skip the cache and rebuild everything from scratch.

Hope that helps! Let me know if you need a hand finding anything else.


sim
FREE

3 months ago

What @mycodej said is correct I do not want to steal the answer from him but adding link to documentation for help https://docs.railway.com/reference/build-and-start-commands


sim
FREE

3 months ago

I would use the cache it makes build time faster what is your use case to disable it? I can suggest alternatives


where can i see build and deploy settings , to change start command and clear cache or such sort of things? - Railway Help Station