Django StaticFiles and Amazon S3: How to detect modified files?
I'm using django staticfiles + django-storages and Amazon S3 to host my data. All is working well except that every time I run manage.py collectstatic the command uploads all files to the server. It looks like the management command compares timestamps from Storage.modified_time() which isn't implemented in the S3 storage from django-storages. How do you guys determine if an S3 file has been modified? I could store file paths and last modified data in my database. Or is there an easy way to pull the last modified data from Amazon? Another option: it looks like I can assign arbitrary metadata