ungleich / dynamicweb

8 stars 22 forks source link

Task/4340 cache busting for all static resources #630

Closed tiwariav closed 5 years ago

tiwariav commented 6 years ago

All static files name are appended with a content MD5 hash when using collectstatic, to ensure that any change to a file results in a unique name. This will prevent stale outdated cached files (css/js) causing unexpected behavior.

verysanghee commented 6 years ago

tested on dev and looks to be working in the following pages
ungleich.ch digitalglarus.ch hack4glarush.ch /glasfaser devuanhosting.com datacenterlight.ch

following pages are excluded in this PR (because we haven't set up dev pages for these)

ipv6onlyhosting rails-hosting.ch django-hosting.ch