Cache

Rspack caches snapshots and intermediate build artifacts, then reuses them in subsequent builds to improve build speed.

Cache Type

Rspack supports both memory cache and experimental persistent cache. See Persistent Cache for more details.

This configuration only controls whether caching is enabled.

Usage

You can disable the cache in your Rspack config:

rspack.config.mjs
export default {
  cache: false,
};