Other Optimizations

Django comes with a few other pieces of middleware that can help optimize your applications’ performance:

 

  • middleware.http.ConditionalGetMiddleware adds support for modern browsers to conditionally GET responses based on the ETag and Last-Modified headers.
  • middleware.gzip.GZipMiddleware compresses responses for all moderns browsers, saving bandwidth and transfer time.

Back to Tutorial

Upstream Caches
Order of MIDDLEWARE_CLASSES

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?