R
Railway11mo ago
Charles_

NIXPACKS_NO_CACHE=1 still uses cache

Railway is still caching builds, despite system variable being set to not use them. Why is this?
Solution:
change a file and that will bust the cache
Jump to solution
9 Replies
Percy
Percy11mo ago
Project ID: 58a8cdcc-9801-4a0e-976f-d8a26bcdc8e6
Charles_
Charles_OP11mo ago
58a8cdcc-9801-4a0e-976f-d8a26bcdc8e6
Brody
Brody11mo ago
thats layer caching, you cant turn that off
Charles_
Charles_OP11mo ago
This cache is also being applied to some submodules I'm installing which means they aren't updating...
Solution
Brody
Brody11mo ago
change a file and that will bust the cache
Charles_
Charles_OP11mo ago
Thanks, I think that worked - would be nice to have env and/or UI button to do this though.
Brody
Brody11mo ago
i mean, if the file hasnt changed, i dont see a reason to bust the cache? i think your issue was elsewhere
Charles_
Charles_OP11mo ago
Your main repo could not change (which is all cache see's) but one of your dependencies could (installed in railway.toml via git clone) - it doesn't necessarily have full picture.
Brody
Brody11mo ago
ah gotcha
Want results from more Discord servers?
Add your server