How Remote Caching decreased publish times by 80%
Dec 22, 2022

Summary
This post details the implementation of Turborepo Remote Caching within the Next.js CI pipeline to reduce publish times. It explains the previous challenges with caching SWC binaries, including repository bloat and cache miss rates. The solution leverages Turborepo's task management for per-platform binaries and its ability to avoid cache purges. Additionally, it describes an eager pre-seeding GitHub Action to build SWC binaries when code changes, ensuring cache hits for subsequent publishes.