Friday, October 24, 2014

Re: Is there a way to supress blank lines in the HTML?

> If you need this for some performance reasons like html compression, you are doing it wrong.
> Instead you could use server-side GZIP compression when serving html which will do the job much more efficiently.

Just a heads up. Compressing dynamic responses over HTTPS is
considered insecure due to the BREACH attack.
<http://en.wikipedia.org/wiki/BREACH_%28security_exploit%29>

Django documentation also contains a blurb about this:
<https://docs.djangoproject.com/en/dev/ref/middleware/#module-django.middleware.gzip>

I don't know the specifics here, but the issue is relevant.

Cheers,
Jon

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADhq2b6uNQKxH10VNfYwYN%3DqVYp9PNwG%2Bcyyvpi5gNWdP54G1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment