webpack-contrib / cache-loader

[DEPRECATED] Caches the result of following loaders on disk
MIT License
637 stars 51 forks source link

invalidate with cache #94

Open brandonkal opened 5 years ago

brandonkal commented 5 years ago

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.

alexander-akait commented 4 years ago

Can you create minimum reproducible test repo?

alexander-akait commented 4 years ago

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

alexander-akait commented 4 years ago

Sorry, yes we should fix a bug