-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache loader? #52
Comments
I haven't tried but I think it makes sense. |
|
@daniel100097: Thanks, but when I try that config no resized image files are emitted anymore. |
After doing a bit experiment, I figured that the deprecated cache-loader was substituted by the cache option, documented on Caching | webpackwebpack.js.org › guides › caching. The images cached will not be regenerated between builds. I managed to lower my rebuild time from 160s to 0.4s with the following setting:
|
@DotIN13: Awesome! Thanks. |
@DotIN13 are the resized images cached in the |
As I see it, the cache config I posted does not involve a |
@DotIN13 it's the default cache location. Do to reword my question: do you see images in .webpack-cache? Or do you fthink images are in a pack file? |
Okay, yes, image caches were bundled in |
Does it make sense using the webpack cache-loader with this responsive-loader for speeding up builds?
The text was updated successfully, but these errors were encountered: