Комментарии:
Thank you so much, Colt! Your videos made me like web development. I really appreciate your valuable and professional content! And this video just helped me with browser caching issues after each deployment.
Ответить[contentHash] did not work for me [contenthash] works. Might be something to do with new versions of Webpack. Thanks for the great video series.
ОтветитьIs there a good plugin for generating revision manifest files in case you want to use server-side cachebusting? I believe the popular manifest file name convention is “rev-manifest.json”
Ответитьhi, how would cashing work if your are using a cdn to host your site like cloudflare. cloudflare caches a version of your site on their servers, so when certain users request your site , they are getting the cache version of cloudflare. So how can you make cloudflare fetch your code updates and update its cache?
ОтветитьIn webpack 5, i believe you need to use [contenthash] with an "h" instead of an "H" or it won't work
ОтветитьFor some reason now [contenthash] must be al lowercase 🤓
ОтветитьIn part6, be sure to use contenthash all lowercase instead of contentHash
ОтветитьI am using requirejs, how to import dynanic filename in requirejs dependency?
Ответитьit will be great if you create wepack in more detail.
ОтветитьIts nice Colt but I am lookig for the solution, how can we implement this in angular
ОтветитьIf you're concerned that the script is being put in <head>, you can add parameter inject: 'body' to the config like this:
plugins: [new HtmlWebpackPlugin({
template: "./src/template.html",
inject: 'body'
})],
Super interesting, I was always wondering where the weird names come from
ОтветитьThis series is awesome. I never thought of that I will understand webpack in such details. Thanks a lot. ❤️
ОтветитьThank you for this course. You have made webpack so easy to understand!
ОтветитьThanks.Outstanding work!
Ответитьnice thanks!
ОтветитьIf [contentHash] doesn't work for you try [contenthash] with lower h.
ОтветитьFor those people whose [contentHash] is not working, use [contenthash] instead
Ответить