Verified Commit 922a982f authored by Jake Howard's avatar Jake Howard
Browse files

Brotli and gzip encode responses

parent 65992464
......@@ -5,3 +5,4 @@ brotli==1.0.7
django-environ==0.4.5
gunicorn ==20.0.4
django-sri==0.2.0
django-brotli==0.2.0
......@@ -46,6 +46,8 @@ INSTALLED_APPS = [
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"whitenoise.middleware.WhiteNoiseMiddleware",
"django_brotli.middleware.BrotliMiddleware",
"django.middleware.gzip.GZipMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment