4 ms·
These hex strings are beginnings of md5 checksums of these files: sh-4.3$ md5sum error.33ab1eb5.svg 33ab1eb5129ee5085793166d2f691dae error.33ab1eb5.svg
by robryk 12y ago
These hex strings are beginnings of md5 checksums of these files:
sh-4.3$ md5sum error.33ab1eb5.svg
33ab1eb5129ee5085793166d2f691dae error.33ab1eb5.svg
I believe the point of appending them to the name is a kind of versioning: one'd want to be able to change these files and cause everyone to drop their cached version. This way when one changes a file, the filename changes too (most likely), so the cached old version will not be used.
- brserc 12y agoThanks for the explanation!
- slig 12y agoYou're correct. It looks like they're using Django. You can configure it to add the md5 of static files to each name. [1] [1] https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/#django.contrib.staticfiles.storage.ManifestStaticFilesStorage https://docs.djangoproject.com/en/1.7/ref/contrib/staticfile...