Caches the result of following webpack loaders on disk (or database) to speed up subsequent builds. The current stable version is 4.1.0, actively maintained by the webpack-contrib team. Key differentiator: it caches at the loader level rather than at the module level like hard-source-webpack-plugin, making it ideal for expensive transpilation or compilation loaders. Note that there is overhead for reading/writing cache files, so only use for expensive loaders. Supports configurable cache directory, cache key, cache identifier, read/write functions, and read-only mode.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Used as a webpack loader in configuration, not as a JS import.
Can be required to get version for cache identifier.
This shows how to use cache-loader to cache the result of babel-loader on disk.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.