Over here it says
Render already caches well known paths for all native language environments.
Which paths/directories exactly are cached for Ruby/Rails projects?
I couldn’t find them anywhere in the docs.
When I check $XDG_CACHE_HOME
on the instance, it only contains “/opt/render/.cache”.
jake
April 18, 2022, 6:40pm
2
Render automatically caches all files in the following directories:
/opt/render/project/.gems
/opt/render/project/nodes
/opt/render/project/src/.venv
/opt/render/project/.render
/opt/render/project/rubies
/opt/render/project/src/node_modules
You can cache additional directories by adding them to the $XDG_CACHE_HOME
environment variable.
I can definitely see how it would be useful to have this information documented. I’ll share this with the product team.
1 Like
Thanks, @jake !
All of them make sense to me, except for src/.venv
, which I’ve never seen before.
What is that one for?
jake
April 19, 2022, 4:46pm
4
No problem!
.venv is used when managing Python virtual environments. It’s cached in all environments by default.
system
Closed
May 19, 2022, 4:47pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.