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 only supports memory cache, persistent cache is under planning, for more details refer to Persistent Cache Support.

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