Cache

Rspack will cache snapshots and intermediate products during the build process and use them in the next build to improve the speed of the build.

Cache Type

Rspack currently supports the memory cache and the experimental persistent cache, see Persistent Cache for more details.

This configuration currently only supports setting whether to enable caching.

Usage

You can disable the cache directly in rspack.config.js:

rspack.config.js
module.exports = {
  cache: false,
};
ON THIS PAGE