Download django-slimmer 0.0.2

X Consortium Lic...


Antivirus information.

We did not scan django-slimmer 0.0.2 for viruses, adware, spyware or other type of malware. For your own protection it's recommended to have an updated antivirus installed on your computer when downloading and installing programs from freesoftware0.

freesoftware0 lists downloads from various software publishers, so if you have a question regarding a particular software contact the publisher directly. The download links for django-slimmer 0.0.2 are provided to you by freesoftware0 without any warranties, representations or gurantees of any kind, so download at your own risk.

Description

django-slimmer is a Django conversion of CheckoutableTemplates Zope package: http://zope.org/Members/peterbe/CheckoutableTemplates

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.

Installation:

sudo easy_install django-slimmer

Install middleware

'slimmer.middleware.CompressHtmlMiddleware',

Or you can use a view decorator to compress specific views

from slimmer.decorator import compress_html

@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

Requirements:

· Python
· Django

Related programsOur Recommendations

MakeItSo 0.2.6

MakeItSo is a module that provides templates for the people.So people generally do things the

Download

plonerelations.ATField 1.0

plonerelations.ATField is a Plone product that allows you to use plone.app.relations based

Download

Moo 0.091011

Moo is a Python module, an extremely light-weight, high-performance Moose replacement. It also

Download

Escape from Waterland 1.0

War is raging and you have been sent out to defend your country, in this online game.About Google

Download

G Classic 0.2

Turns off google instant, increases search results to 100 per page. Restores the classic google

Download

Slat 0.4b

Slat stands for "Sounds Like A Theramin". Slat allows you to use your mouse to adjust pitch and

Download

TinyFastSS 1.0

FastSS is an extremely efficient data structure for approximate string search, invented by

Download

fastbreeder 1.0.0b2

fastbreeder is an experimental genetic programming synthesiser. This program is free software,

Download

CaPSID 1.4.1

CaPSID is a comprehensive open source platform which integrates a high-performance computational

Download

vdr_remote 0.4

vdr_remote is a graphical remote control for the video disk recorder vdr. vdr_remote connects over

Download


Thumbnail of django-slimmer 0.0.2

Rating:

5 stars

Price: X Consortium Lic...

Publisher/Developer: Harley Bussell

Release Date: Jun 16, 2012

View Program Details

Top Downloadslast week