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.
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.
boolean
false
, development mode is true
You can disable the cache directly in rspack.config.js
: