django-critical-css aims to speed up webpage rendering by saving critical css in db.
Project description
- 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
Python 3 only
at least Django 1.11
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-critical-css-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e78619eeb1844ce655f73ad121ae1ccfeaa20dee9e1628abcd2d0abab787af |
|
MD5 | cfaa9ee4d84efc0e392392cb3ecb77c0 |
|
BLAKE2b-256 | ff17349563968df8878d05beec7fa61d51cf74982aac51462455f5ffbfa73b11 |
Close
Hashes for django_critical_css-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3499bb7751929de388b080c7155cf32d60b6da1919bac42ed98af5f2ca4d455b |
|
MD5 | c895aa81a2b151eaf8ef4ffef4b97240 |
|
BLAKE2b-256 | b04deeb74b911328f687c12cca4c0781be4f10b726363e938d08fab626f4e192 |