{ "info": { "author": "Drew Engelson", "author_email": "drew@engelson.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://raw.github.com/tomatohater/django-staticshard/master/logo.png\n==================\n\nDomain sharding for Django static files.\n\n.. image:: https://travis-ci.org/tomatohater/django-staticshard.png?branch=master\n :target: https://travis-ci.org/tomatohater/django-staticshard\n\n.. image:: https://coveralls.io/repos/tomatohater/django-staticshard/badge.png?branch=master\n\t:target: https://coveralls.io/r/tomatohater/django-staticshard?branch=master\n\n.. image:: https://badge.fury.io/py/django-staticshard.png\n :target: http://badge.fury.io/py/django-staticshard\n\n``django-staticshard`` provides a set of utilities to easily enable domain sharding of static files in your Django project.\n\nIt comes with a storage backend, a tempalatetag, and a middleware (you may use one or all).\n\n\nWhat is Domain Sharding?\n************************\n\nDomain sharding is a technique used to accerate the time it takes for a webpage to render in a browser. Web browsers will only open a small number of parallel connections to each domain (~2-16). The theory is that if your webpage contains a lot of external assets from a single domain, you may experience a bottleneck while the browser wait for files to download before making the next request. Spreading these requests across multiple domains will allow more files to be downloaded in parallel, thus accelerating the page render time. Of course, each new domain incur the cost of a DNS lookup... so there is a balance to be struck.\n\nRead what Google has to say about it.\nhttps://developers.google.com/speed/pagespeed/service/ShardResources\n\n\nWhy are you doing this?\n***********************\n\nDomain sharding is a science, not an art. But there is reliable no formula for it. In certain cases it has no impact on page speed. In others, the effects may be significant. In addition, determining the ideal number of domains needs to take into account a variety of factors. \nIn order to determine whether sharding even makes sense, it would be helpful\n\nI felt that in order to make informed decisions about domain sharding, one must able to easily test it's impact in multiple configurations. So a tool that makes it easy to implement domain sharding is desirable. \n\n\n\nRead The Docs\n*************\n\nhttps://django-staticshard.readthedocs.org/en/latest/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tomatohater/django-staticshard", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-staticshard", "package_url": "https://pypi.org/project/django-staticshard/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-staticshard/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/tomatohater/django-staticshard" }, "release_url": "https://pypi.org/project/django-staticshard/0.1/", "requires_dist": null, "requires_python": null, "summary": "Domain sharding for Django static files.", "version": "0.1" }, "last_serial": 1020315, "releases": { "0.1": [] }, "urls": [] }