[Tracking]: new cache system
Author: ahabhgkCreated Aug 13, 2026Updated Sep 14, 2026
Labelstracking issue
new cache system
- foundation of new cache system https://github.com/web-infra-dev/rspack/pull/15110
- filesystem cache compaction https://github.com/web-infra-dev/rspack/pull/15182
- filesystem cache expiration cleanup
- memory cache gc https://github.com/web-infra-dev/rspack/pull/15181
- FileSystemInfo, createSnapshot, checkSnapshotValid https://github.com/web-infra-dev/rspack/pull/15311
- file lock to prevent two compiler processes from reading and writing to the filesystem cache simultaneously.
- remove legacy cache
- add infrastructure logging https://github.com/web-infra-dev/rspack/pull/15338
- error handling https://github.com/web-infra-dev/rspack/pull/15525
integrate into compile passes
- resolve
- make https://github.com/web-infra-dev/rspack/pull/15380
- codegen https://github.com/web-infra-dev/rspack/pull/15194
- devtool https://github.com/web-infra-dev/rspack/pull/15269
- swc js minimize https://github.com/web-infra-dev/rspack/pull/15150
- copy plugin
- ...
testing
- test harness and migrate cacheCases https://github.com/web-infra-dev/rspack/pull/15563
- test new cache on normalCases and configCases
- test new cache on watchCases and incremental related cases
performance
- better performance serialize/deserialize
Source: web-infra-dev/rspack