cache-loader icon indicating copy to clipboard operation
cache-loader copied to clipboard

invalidate with cache

Open brandonkal opened this issue 6 years ago • 3 comments

  • Operating System: MacOS
  • Node Version: 10
  • NPM Version: 6
  • webpack Version: 4
  • cache-loader Version: latest

Feature Proposal

Serialize this.loaders options to invalidate cache when things change. The remaining request looks like this:

file??ref--8-0!file??ref--8-1!file??ref--8-2!file

It is not clear if those refs change when loader options change.

Feature Use Case

As far as I can tell, cache-loader does not account for changes in options passed to loaders in the chain.

brandonkal avatar Sep 18 '19 06:09 brandonkal

Can you create minimum reproducible test repo?

alexander-akait avatar Sep 23 '19 10:09 alexander-akait

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!

alexander-akait avatar Apr 27 '20 15:04 alexander-akait

Sorry, yes we should fix a bug

alexander-akait avatar Apr 27 '20 15:04 alexander-akait