RobinTheHood/ModifiedModuleLoaderClient

Add cache busting to module images

Opened this issue · 0 comments

When you update/change an image in your module, the browser will still show a cached version.

Steps to reproduce

  1. Save an image in your module under /images/Image1.jpg
  2. Release/update the module
  3. Replace the image at /images/Image1.jpg with a new/updated image.
  4. The old image will still show

I think it would be smart, if the MMLC would link the module images with a hash of the image so the browser is forced to download it again if it changes.