Hacker News new | ask | show | jobs
by mkolodny 4135 days ago
Django has a `CachedStaticFilesStorage` storage class that you can use to store the MD5 hashed names of your processed files [1]. I use that with django-storages to store my files in S3/Cloudfront [2].

[1] https://docs.djangoproject.com/en/1.7/ref/contrib/staticfile... [2] https://mike.tig.as/blog/2011/12/22/django-14-first-thoughts...