Skip to content

This package helps to optimize the critical rendering path for django websites

License

Notifications You must be signed in to change notification settings

lenarother/django-critical-css

Repository files navigation

django-critical-css

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

About

This package helps to optimize the critical rendering path for django websites

Resources

License

Stars

Watchers

Forks

Packages

No packages published