Skip to content

Latest commit

 

History

History
66 lines (38 loc) · 3.27 KB

README.md

File metadata and controls

66 lines (38 loc) · 3.27 KB

Reduce Django Page Size Talk

Compiling and viewing the presentation

The core of the talk is in pagesize-slides.md and is intended to be processed by mdpress (which converts markdown into impress.js presentations) - so:

gem install mdpress
mdpress -r pagesize-slides.md

mdpress -r will compile the presentation and open it in your browser. You can then make it full screen and press space to go through the slides.

While presentation-notes.md has the notes I read from while talking to the slides.

Sources and references

Battery Usage

These figures are from a fascinating paper about battery usage on a typical android phone, titled "Who Killed My Battery: Analyzing Mobile Browser Energy Consumption" (paper and [presentation](http://cdn.oreillystatic.com/en/assets/1/event/93/Who Killed My Battery_ Analyzing Mobile Browser Energy Consumption Presentation 1.pdf)).

Gzip Compression

HTML Minification

django-htmlmin

htmlmin and docs

CSS/JS

Images

Bootstrap

The customize page

Tools

Loband Simulator

OS X development tools include the Network Link Conditioner which has some preset link types, or lets you specify your own combination of speed, latency and dropped packets.

Linux has tc/netem which is command line, but means it can be scripted quite easily.

Windows has a few including Network Emulation in Visual Studio

Look at these stack overflow questions for other things to try:

The tc script used in the demo is in the file badconn.sh - feel free to use and modify it yourself.