Skip to content

foobacca/reduce-django-page-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A talk about reducing web page size when using Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages