3 ms·
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-storage
by mkolodny 12y 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/staticfiles/#cachedstaticfilesstorage https://docs.djangoproject.com/en/1.7/ref/contrib/staticfile...
[2] https://mike.tig.as/blog/2011/12/22/django-14-first-thoughts-cachedstaticfilesstorage/ https://mike.tig.as/blog/2011/12/22/django-14-first-thoughts...