Skip to content

CacheCow

CacheCow 0.1.0 is published. Native CoW and process-lifecycle acceptance remain unverified; package installation does not establish native support or performance benefits.

CacheCow (ccow) prepares independent writable build caches for Git worktrees with filesystem copy-on-write (CoW). It supports the intended cargo, rspack, and rsbuild presets.

Published versions will provide Homebrew and APT/DNF installation, plus native archives, checksums and release metadata through GitHub Releases. CacheCow is not distributed through npm. Check installation and availability before installing.

How it works

The first preparation clones a compatible source cache into the current worktree. The primary checkout is the default source. Later runs keep the worktree's own cache. Changes do not flow back to the source or into other worktrees.

CoW can initially share physical disk blocks while keeping writes separate. It does not guarantee cache hits, faster builds, shared compiler heaps, or shared file page-cache memory. Each build tool still decides what to rebuild.

Choose a workflow

Boundaries

CacheCow is local-only, for the current OS user and worktrees of the same Git repository. It has no remote cache, telemetry, automatic cache publication, central snapshot catalog, or automatic eviction. It does not sandbox build code.

Only verified tool-cache paths are eligible. Source files, Git metadata, settings, unrelated files, dependencies, and frontend final outputs must remain intact. Ordinary hard links are not a substitute for independent CoW files.

CacheCow is licensed under Apache-2.0. Support is through GitHub Issues, without a response-time SLA.