I would like to gzip my static assets to s3 with the Gzip and s3 mixins from django storages, and serve the gzipped files with the static/compressed template tag. Is this possible? I don't see information in the docs or online on serving compressed versions.
Asked
Active
Viewed 458 times
1 Answers
1
Yes this is possible. See the docs on Gzip compression and the following section.
https://django-pipeline.readthedocs.org/en/latest/storages.html#gzip-compression
Also see this question: django-pipeline with s3 storage is not compressing my js

Community
- 1
- 1

John Lehmann
- 7,975
- 4
- 58
- 71