Message from JavaScript discussions

October 2017

— My user saw old image

— 

Always use random chars and numbers for the names of your images . because the browser cache some resources like images, css,js

— Ctrl+F5

— Bad web app design

— I want use the same file name

— Then your user will see the same image because the browser cache

— Then use "?rand=27476267272733636" after the path

— With random digits on every load

— Hashing is easy with webpack

— But using the same file name is BAD

— You shouldn't want that

— Firefox developer edition