Docs
FAQ

Frequently Asked Questions

Do I have to use Remote Caching to use Turborepo?

No. Remote Caching is optional. However, you'll find it very useful to speed up development on a team, speed up builds inside of Docker, and also save space on your own machine.

Does Turborepo / Remote Caching store my source code?

No. Turborepo does not store source code. Without Remote Caching, no code ever leaves your machine—it will only cache artifacts to local disk.

With Turborepo's Remote Caching, you are responsible for configuring cache behavior and should only set up Turborepo to cache compiled artifacts. Please be aware that Turborepo treats all logs as artifacts and so these will be stored along with other cache artifacts.

Do I have to use Vercel to use Turborepo?

No. Turborepo is an open source project and is not tied to any specific hosting provider or Remote Cache provider. The default Remote Cache provider is Vercel, should you opt-in to enable it. However, you can use any other provider that you like as long as they support the same API. There are a several open source community Remote Caches that are compatible with Turborepo.

Can I use Turborepo with a different Remote Cache provider other than Vercel?

Yes. As long as the Remote Cache provider you choose supports the same API, you can use Turborepo with it.

Does Turborepo collect any personally identifiable information?

Due to the nature of Turborepo's functionality, no personal information is gathered when the open source binary is run locally. All cached artifacts are stored on your machine by default. Further, no log in information or contact details are collected by the turbo CLI, so Turborepo will never have access to any personally identifiable information. Thus, for any data privacy questions and concerns please refer to Turborepo's Privacy Policy.

Does Turborepo collect any personally identifiable information when using Remote Caching?

When Remote Caching is enabled, by default Turbo will utilize your Vercel account to cache artifacts in the cloud. Thus, for any data privacy questions and concerns, please refer to Turborepo's Privacy Policy and Vercel's Privacy Policy. If you use a different Remote Cache provider, please refer to the provider's privacy policy.

How can I retain Fast Refresh in my Turborepo when using multiple Next.js applications?

Fast Refresh gives you instantaneous feedback on edits made to your React components in Next.js applications. If your Turborepo has multiple Next.js applications, you can use next-transpile-modules to ensure that imports across packages will work with Fast Refresh when changes are made. Turborepo will effectively watch for any edits and the rebuild when saving. You can get started from this example which is set up to handle Fast Refresh.

Last updated on April 27, 2022