I had the same issue and was able to resolve this by adding text/javascript
to the GZIP_CONTENT_TYPES
setting like so:
GZIP_CONTENT_TYPES = (
'text/css',
'application/javascript',
'application/x-javascript',
'text/javascript'
)
I'm not sure why, but the default value of GZIP_CONTENT_TYPES
in django-storages==1.1.8
does not seem to include text/javascript
so it seems django-compressor
skips GZIP for compressed .JS files with this content type.