Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Gzip filter

Purpose

Filter that gzips the response.

Parameters

  • gzipFilter.on:
    • Purpose: To enable or disable the filter
    • Value: True or False
    • Default: False
  • gzipFilter.mimeTypeList:
    • Purpose: CherryPy will only compress content of the defined mime types
    • Value: A list of mime types as defined here
    • Default: ['text/html']
  • gzipFilter.compresslevel:
    • Purpose: Which level of compression to use
    • Value: From 0 to 9 (max but slower)
    • Default: 9

Hosted by WebFaction

Log in as guest/cpguest to create tickets