NexisChat Docs

Caching Strategies

Layered caches to accelerate installs, builds, and analysis.

Dependency caches

  • PNPM store: Optimized caching using pnpm store path with component-specific keys
  • Node modules: Repository-wide and per-component fallback caching
  • See PNPM Optimizations for detailed performance improvements

Tool caches

  • Turbo: .turbo per job and component
  • TypeScript: tsconfig.tsbuildinfo/.tsbuildinfo
  • ESLint: .eslintcache
  • Prettier: .prettiercache
  • Knip: .knip-cache

Build caches

  • Build outputs: dist, build, .next, out, .astro
  • Next.js incremental cache: .next/cache

Use stable keys and broad restore keys to improve hit rate.