Skip to main content

django-critical-css aims to speed up webpage rendering by saving critical css in db.

Project description

Latest Version Coverage Status Documentation Status https://travis-ci.org/lenarother/django-critical-css.svg?branch=master
django-critical-css speeds up webpage rendering by saving

critical css in a database.

Features

  • critical_css templatetag to inline critical css from the database.

  • empty_critical_css management command.

  • signal for emptying critical css upon page publication when using django-cms.

Requirements

Prepare for development

A Python 3.6 interpreter is required in addition to pipenv.

$ pipenv install --python 3.6 --dev
$ pipenv shell
$ pip install -e .

Now you’re ready to run the tests:

$ pipenv run py.test

Resources

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

django-critical-css-0.0.2.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file django-critical-css-0.0.2.tar.gz.

File metadata

  • Download URL: django-critical-css-0.0.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for django-critical-css-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7232bb5fbfd561d62666763e36a66e53a0da6ddcb0b6710e32648ac05441f77e
MD5 4f2dac7e77a5db1b84e7428d8658d326
BLAKE2b-256 fb826148c1cd23d3e11e87d0c1a0d5ffe3bb0e02a50f512651e35b4cf784198b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page