Documentation

Get started in five minutes

Cachely speaks the Nx self-hosted remote cache protocol (which also powers Lerna), the Turborepo (Vercel Remote Cache) protocol, the Gradle HTTP Build Cache protocol, and the Bazel HTTP remote cache protocol. The first machine to build a task uploads the result; every other machine and CI runner downloads it and skips the work.

Quickstart

  1. Create an account and a workspace. Sign in with Google and create a workspace. Your cache is stored on fully managed Cloudflare R2 - zero configuration, nothing to provision, secure, or patch.
  2. Generate an API token. Open the workspace and create a token with a descriptive name (e.g. github-actions-prod or alice-laptop). Copy the raw value immediately - it is shown once and never again. See tokens and access control.
  3. Point your build tool at the cache. One workspace token works for every protocol. For Nx and Lerna that is two environment variables:
    export NX_SELF_HOSTED_REMOTE_CACHE_SERVER=https://remote.cachely.dev
    export NX_SELF_HOSTED_REMOTE_CACHE_ACCESS_TOKEN=<your-token>
  4. Build something twice. The first run uploads the result (a put); every later run on any machine using a token in the same workspace downloads it instead of rebuilding (a hit).

Setup guides

Storage

Managed (R2). Cachely stores cache objects in Cloudflare R2 on your behalf. Zero configuration, included in the subscription. Artifacts are content-addressed and immutable: an existing cache key cannot be overwritten, so a known good build can never be silently replaced. Cachely never stores your source code, only task outputs and their content hashes.

Background reading

These pages explain the concepts rather than the Cachely setup: what a remote cache is, how the Nx remote cache works, how to improve a low hit rate, and monorepo build performance.

Community and support

Join the Cachely Discord to ask setup questions, compare cache configurations with other teams, and hear about protocol support as it lands. For anything account-specific - billing, quotas, a workspace you cannot reach - email hello@cachely.dev instead, so it stays off a public channel.

Ready to speed up your builds?

Create a workspace, drop in a token, and watch your hit rate climb. Free tier - no credit card.