Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Html compression as post processor

Project description

This module is a wrapper around Peter Bengtsson’s slimmer. It can be used to compress HTML, XHTML or CSS. It depends on the slimmer module from pypi.

Installation

pip install hyde-slimmer

Install Post Processor:

SITE_POST_PROCESSORS = {
    '/': {
        'hyde_slimmer.site_post_processors.Compress' : {
            'slimmer': {
                '*.html': 'html',
                #'*.html': 'xhtml',
                #'*.css': 'css',
            }
        },
    }
}

Project details


Download files

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

Files for hyde-slimmer, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size hyde-slimmer-0.0.1.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page