django-planet

Blog: JasonGi

web https://jasongi.com/tag/django/
Author jasongi

Speed up Django’s collectstatic command with Collectfasta

March 4, 2024 » JasonGi » [Archived Version]

Django’s collectstatic command (added in Django 1.3 – March 23, 2011) was designed for storage backends where file retrieval was cheap because it was on your local disk. In Django 1.4 (March 23, 2012) Django introduced CachedStaticFilesStorage which would append md5 hashes to the end of files so that you could have multiple versions of … Continue reading "Speed up Django’s collectstatic command with Collectfasta" The post Speed up Django’s collectstatic command wit…

Read More