Skip to main content

html minify for django

Project description

++++++++++++++
django-htmlmin
++++++++++++++

html minify for django

Why minify HTML code?
=====================

One of important points on client side optimization is minify HTML, with minified HTML code, you reduce the size of data transferred from your server to your client, and your pages load faster.

Installing
==========

For install django-htmlmin, run on terminal: ::

You can't use 'macro parameter character #' in math mode pyminify index.html > index_minified.html

You can also keep comments, if you want:

.. highlight:: bash

::

pyminifykeepcommentsindex.html>indexminifiedwithcomments.htmldevelopment===========SourcehostedatGitHub<http://github.com/cobrateam/djangohtmlmin>ReportissuesonGitHubIssues<http://github.com/cobrateam/djangohtmlmin/issues>Pullrequestsareverywelcomed!Makesureyourpatchesarewelltested.runningthetestsifyouareusingavirtualenv,allyouneedis::: make test

community
=========

irc channel
-----------

#cobrateam channel on irc.freenode.net

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page