Package Caching #1427
Replies: 2 comments
-
My only guess is because you went into an empty rez environment, so there was nothing to cache. Try going into a rez environment with some of your packages and see of those copy over to the cache. |
Beta Was this translation helpful? Give feedback.
-
I'm currently playing with rez package cache, i can detail some stuff on how i have setup things, maybe it will help. On my rezconfig file i have add this :
then Cache per packageI have add this attrbute in one of my package, inside the package.py
you can see a better explanation in the documentation [here](you can see this example in the documentation here default_cache per package inside rezconfig.pyIf you want to centralize your default_cachable value per package you can with this:
you can see this example in the documentation here And this should be work |
Beta Was this translation helpful? Give feedback.
-
Our main repository is on the network and am trying to get the packages to cache locally to speed things up but I can't seem to figure it out.
As you can see my
cache_packages_path
variables is set to my local user directory "packages.cached
" and mydefault_cachable
is set toTrue
but when i rez into my default environment it doesn't seem to trigger a cache of the packages. It has made a.sys
folder which appears to mean the system did something but does not seem to have done anything else. What step am I overlooking?Beta Was this translation helpful? Give feedback.
All reactions