This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A collection of stuff to improve django web performance.

Domain sharding

Domain sharding is an optimization technique for parallelization of resource loading. If you have a lot of media files on your page you might want them to be downloaded from different domains, as web browsers have limits on how many files they can grab at once. Domain sharding reduces the overall page load time and is widley used on rich media sites, like Facebook, Youtube, etc.

It works as a customized django file storage, overriding standard url method.

Installation & setup

Recommended way to install is pip:

pip install django-webperf

Make sure to change your DEFAULT_FILE_STORAGE in settings.py to use sharding site-wide:

DEFAULT_FILE_STORAGE = 'web_performance.storage.DomainShardingStorage'

Settings

WEBPERF_MEDIA_TEMPLATE

Default:'' (empty string)

A pattern to generate media_urls with a standard format placeholder. E.g. http://img{0}.example.com/media/

WEBPERF_DOMAINS_NUMBER

Default:2

Number of domains you want to use to split your media content.

Don’t use too many domains, becasue it will increase DNS lookup time.
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-webperf-0.1.tar.gz (4.0 kB) Copy SHA256 Checksum SHA256 Source Sep 25, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting