Skip to main content

gzip precompression as post processor

Project description

Hyde Zipper

This module precompresses all plaintext files so that properly configured web servers can serve gzip compressed content without compressing it on every request.


pip install hyde-zipper

Install Post Processor:

    '/': {
        'zipper.site_post_processors.GzipCompress' : {
            'filetypes': ['*html', '*.css', '*.js', '*.xml', '*.txt'],
            'level': 9,


Zipper has 2 settings, filetypes, and level.


A list with file extensions to apply precompression too. defaults to

['*html', '*.css', '*.js', '*.xml']


An integer 1 through 9 that controls the level of compression. 1 is the fastest, but least amount of compression, and 9 is the slowest, but most amount of compression. defaults to


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyde-zipper-0.0.3.tar.gz (1.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page