Skip to content
Sections
>> Trisquel >> Paketler >> ecne (12.0LTS) >> python >> python3-django-compression-middleware
[  ecne  ] [  xolotl  ]

Paket: python3-django-compression-middleware (0.5.0-1)

Django middleware to compress responses using several algorithms

This middleware implements compressed content encoding for HTTP. It is similar to Django's GZipMiddleware, but additionally supports other compression methods. It is meant to be a drop-in replacement for Django's GZipMiddleware.

The middleware is focussed on the task of compressing typical Django responses such as HTML, JSON, etc. Both normal (bulk) and streaming responses are supported. For static file compression, have a look at other projects such as WhiteNoise.

Zstandard is a new method for compression with little client support so far. Most browsers now support Brotli compression. The middleware will choose the best compression method supported by the client as indicated in the request's Accept-Encoding header.

python3-django-compression-middleware ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-brotli
    lossless compression algorithm and format (Python 3 version)
  • dep: python3-django
    High-level Python web development framework
  • dep: python3-zstandard
    Python bindings for interfacing with Zstandard library

python3-django-compression-middleware indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 9,9 kB37 kB [dosya listesi]