{ "info": { "author": "Michael Fladischer", "author_email": "michael@openservices.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "========\nOverview\n========\n\n\n\nMiddleware and templatetag for Django to utilize HTTP/2 push for assets included in a Django template. The\nmiddleware injects a `Link` header in each response if there are files to be pushed to the client. All files in the\ntemplate which are suitable for HTTP/2 push should be included with the ``staticpush`` templatetag instead of the\nvanilla ``static`` templatetag. The former simply augments the later and registers the resulting static URL with the\nmiddleware.\n\nThis package currently supports Apache2 webservers with ``mod_http2`` enabled, as the actual HTTP/2 push is offloaded to the\nwebserver.\n\n.. warning::\n\n This is ALPHA code. Do not use in production! It only serves as a proof-of-concept for now.\n\n Conditional HTTP/2 push is not supported yet. This means that your site will actually perform worse than\n over HTTP/1.1 because each response will trigger a push of all incldued assets, irrespective of any cache on the\n webbrowser.\n\nInstallation\n============\n\n::\n\n pip install django-static-push\n\nDocumentation\n=============\n\nhttps://django-static-push.readthedocs.io/en/latest/\n\nDevelopment\n===========\n\nTo run the all tests run::\n\n tox\n\nNote, to combine the coverage data from all the tox environments run:\n\n.. list-table::\n :widths: 10 90\n :stub-columns: 1\n\n - - Windows\n - ::\n\n set PYTEST_ADDOPTS=--cov-append\n tox\n\n - - Other\n - ::\n\n PYTEST_ADDOPTS=--cov-append tox\n\n\nChangelog\n=========\n\n0.1.0 (2016-01-29)\n-----------------------------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fladi/django-static-push", "keywords": "django,middleware,templatetag,static,assets,http/2,push", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-static-push", "package_url": "https://pypi.org/project/django-static-push/", "platform": "", "project_url": "https://pypi.org/project/django-static-push/", "project_urls": { "Homepage": "https://github.com/fladi/django-static-push" }, "release_url": "https://pypi.org/project/django-static-push/0.1.0/", "requires_dist": [ "Django (>=1.10)" ], "requires_python": "", "summary": "Django staticfiles extension for HTTP/2 push", "version": "0.1.0" }, "last_serial": 2547645, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ecae709abe6178e6b20ddfaa83e9e90c", "sha256": "f0bacc152e82a42a02d7d3da7bb33e8f1c53dfc1a32ffac6748f287782a3dfa0" }, "downloads": -1, "filename": "django_static_push-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "ecae709abe6178e6b20ddfaa83e9e90c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6265, "upload_time": "2016-12-31T18:26:35", "url": "https://files.pythonhosted.org/packages/1d/3a/2d8d48105997225697fb371024c53dfa579246b7b56ca49030b44a78f8cb/django_static_push-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "281313fef6eee3bac25d94ab26a4031e", "sha256": "d78b65d773c9a422a7009d07c427d77754e3fbf46275256de4eccd142d81c385" }, "downloads": -1, "filename": "django-static-push-0.1.0.tar.gz", "has_sig": true, "md5_digest": "281313fef6eee3bac25d94ab26a4031e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10317, "upload_time": "2016-12-31T18:26:36", "url": "https://files.pythonhosted.org/packages/3d/1a/220e02e264159b8900a10b1c66eaf6bb9ccbc240085b34189983868e90b9/django-static-push-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ecae709abe6178e6b20ddfaa83e9e90c", "sha256": "f0bacc152e82a42a02d7d3da7bb33e8f1c53dfc1a32ffac6748f287782a3dfa0" }, "downloads": -1, "filename": "django_static_push-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "ecae709abe6178e6b20ddfaa83e9e90c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6265, "upload_time": "2016-12-31T18:26:35", "url": "https://files.pythonhosted.org/packages/1d/3a/2d8d48105997225697fb371024c53dfa579246b7b56ca49030b44a78f8cb/django_static_push-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "281313fef6eee3bac25d94ab26a4031e", "sha256": "d78b65d773c9a422a7009d07c427d77754e3fbf46275256de4eccd142d81c385" }, "downloads": -1, "filename": "django-static-push-0.1.0.tar.gz", "has_sig": true, "md5_digest": "281313fef6eee3bac25d94ab26a4031e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10317, "upload_time": "2016-12-31T18:26:36", "url": "https://files.pythonhosted.org/packages/3d/1a/220e02e264159b8900a10b1c66eaf6bb9ccbc240085b34189983868e90b9/django-static-push-0.1.0.tar.gz" } ] }