Skip to content
Sections
>> Trisquel >> Пакеты >> ecne (12.0LTS) >> python >> python3-django-compression-middleware
[  ecne  ] [  xolotl  ]
[ Источник: django-compression-middleware  ]

Пакет: 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

  • зависимости
  • рекомендации
  • предложения
  • 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

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 9,9 Кб37 Кб [список файлов]