django_http2_push
A simple way to add Header LINK
Install
pip install django_http2_push
Update your settings.py
INSTALLED_APPS = [
...
"django_http2_push",
...
]
MIDDLEWARE = [
...
"django_http2_push.middleware.PushHttp2Middleware",
...
]
Usage
In the templates now use static_push
instead of staticfiles
.