I use django_compressor to compress my js and css files. It creates combined files successfully. But this app also allow to zip files. To enable this I created
COMPRESS_STORAGE = 'compressor.storage.GzipCompressorFileStorage'
in my settings.py. In compressor work dir there are now gzip files for css and js. But after checking html with firebug it looks like gzip files are not during rendering process. How can I change it?
django-compressor disables most of its actual machinery in development (DEBUG=True
) for obvious reasons, so it's likely this too will only work in production.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With