3

Web servers can be configured to compress http response. And Django framework also provides the gzip middleware. My question is:

Which one should I use if I am concerned about performance? And

If both are applied, does it mean the response is compressed twice?

NeoWang
  • 17,361
  • 24
  • 78
  • 126
  • 1
    See relevant thread http://stackoverflow.com/questions/1121608/mod-deflate-vs-django-gzipmiddleware-which-one-to-use-for-deployment. – alecxe Mar 26 '14 at 04:16

0 Answers0