Skip to content

Commit

Permalink
Added GZip middleware for http compression (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
murdo-moj authored Oct 4, 2024
1 parent 8b989b0 commit 4cbab31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
INSTALLED_APPS.append("azure_auth")

MIDDLEWARE: list[str] = [
"django.middleware.gzip.GZipMiddleware",
"django_prometheus.middleware.PrometheusBeforeMiddleware",
"django.middleware.security.SecurityMiddleware",
"whitenoise.middleware.WhiteNoiseMiddleware",
Expand Down

0 comments on commit 4cbab31

Please sign in to comment.