You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bootsnap cache is shareable across machines, but with some caveat:
The source code must have the same absolute path on all machines (this is a limitation of the API provided by Ruby: https://bugs.ruby-lang.org/issues/17593, may be fixed in the future).
The cache key include the source code mtime, so depending on how you deploy your code and share your cache, it may or may not work.
E.g. with something like turborepo, for improved cache-hit across dev machines and CI.
Would remote caching bootsnap cache be feasible, or is the cache machine dependent?
The text was updated successfully, but these errors were encountered: