django-slimmer 0.0.2

MIT/X Consortium Lic...

django-slimmer 0.0.2

django-slimmer is a Django conversion of CheckoutableTemplates Zope package:

The slimmer is taken directly from the Zope package, with django middleware and a view decorator added.

The slimming process takes html and removes whitespace, optimizes inline css, removes oneline comments. The end result can be a significant file size reduction even after the page is served with gzip compression.


sudo easy_install django-slimmer

Install middleware


Or you can use a view decorator to compress specific views

from slimmer.decorator import compress_html

def browse(request):
 context = RequestContext(request,{})
 return render_to_response('browse.html',context)

Using the slimmer directly

from slimmer import slimmer
compressed = slimmer.xhtml_slimmer(html)

Product's homepage


· Python
· Django

Download and use it now: django-slimmer 0.0.2 free download

Add a review

Tell us your experience with django-slimmer 0.0.2

Related programsOur Recommendations

XML::Parser::REX 1.01

XML::Parser::REX is a XML shallow parsing with regular expressions.See this very interesting read.



Xfce-black is a black and fast GTK theme using only the Xfce engine.How to install?· Right


Wiki Web Help 0.3.8

Wiki Web Help is a AJAX-based wiki, designed to operate like a desktop help file (chm)


Virtualmin 3.91

Virtualmin is the world's most popular Open Source virtual hosting management system designed to


Funny Sheep 1

Help the cute sheep to cross the ravine! Pretty graphics, lively music and lots of sheep, in this


Playlist2K3b 1.0

Playlist2K3b is an Amarok script that creates a K3b project from the current playlist, allowing you


Automatic wallpaper changer 1.0

Automatic wallpaper changer is a Nautilus script for automatic wallpaper change.Installation:-


BitNami Cloud Tools Stack 1.3-10

BitNami Cloud Tools installer packages the Amazon Web Services command line tools together with


BitNami X2CRM Module 2.7.2-0

BitNami X2CRM helps users to easily deploy the X2CRM software on their servers. This package is the


Microsoft Windows Cube Theme

Microsoft Windows Cube Theme for Google Chrome browser that fits most resolutions.About Google


Thumbnail of django-slimmer 0.0.2


5 stars

Price: X Consortium Lic...

Publisher/Developer: Harley Bussell

Release Date: Jun 16, 2012

View Program Details

Top Downloadslast week