Add gzip middleware

This commit is contained in:
Jake Howard 2022-06-20 09:12:47 +01:00
parent 70c9a986b4
commit 1926c73145
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -47,6 +47,7 @@ INSTALLED_APPS = [
] ]
MIDDLEWARE = [ MIDDLEWARE = [
"django.middleware.gzip.GZipMiddleware",
"django.middleware.security.SecurityMiddleware", "django.middleware.security.SecurityMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware",
"whitenoise.middleware.WhiteNoiseMiddleware", "whitenoise.middleware.WhiteNoiseMiddleware",