The cache-loader is a Webpack loader that significantly speeds up builds by caching the results of expensive transformations. It saves processed modules to disk, allowing subsequent builds to reuse these cached outputs instead of re-running loaders. Configuring cache-loader is straightforward, simply add it to your Webpack configuration before the loaders you want to cache. This is especially helpful when using loaders like babel-loader or ts-loader, resulting in substantial performance improvements for large projects. It intelligently invalidates the cache when dependencies change.
The npm package cache-loader had its most active release periods in 2017-2019. Releases were frequent in the initial months of 2017, with a few versions released in October and November. In 2018, there were releases in February and October, and one in December. 2019 saw releases scattered through January, April, May, June and July. Since then, from August 2019 to August 2025, there have been no new versions published.
Cache-loader npm package downloads show fluctuations. From March 2024 to August 2025, downloads generally ranged between 2.8M and 4.2M, peaking in November 2024. June 2025 saw a local maximum with 4.5M. September 2025 is incomplete but currently shows 615k downloads.