From 69e75cfb814b41a4cd72024245c497ff6d38d68a Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Sun, 7 Jan 2024 16:40:19 -0500 Subject: [PATCH] perf(be): use gzip middleware for eligible responses --- backend/rotini/base/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/rotini/base/settings.py b/backend/rotini/base/settings.py index 87e8816..708986d 100644 --- a/backend/rotini/base/settings.py +++ b/backend/rotini/base/settings.py @@ -35,6 +35,7 @@ INSTALLED_APPS = [ ] MIDDLEWARE = [ + "django.middleware.gzip.GZipMiddleware", "django.middleware.security.SecurityMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "corsheaders.middleware.CorsMiddleware",