Hi, use the minimizer from yahoo (yuicompressor) for js and css (yes, written in java). But it does its job pretty well - and you won't reinvent the wheel...
regards Henrik >reply to message: >date: 21.09.2010 07:53:33 >from: "Shamail Tayyab" <pleoma...@gmail.com> >to: django-users@googlegroups.com >subject: CSS and JS minification > >Hi, > > I've a working setup of a Django site at production. Now I want to minify >CSS and JS (in-place). > >To deploy I've a git's post-receive hook, that can call a script to do this. >I've seen a minification tool, but thats in Java. Any python/django specific >minification program? Does the framework has something for this? > >If simple enough, it can be coded as well? >What all tasks are done in minification? > >* Remove comments >* Remove white spaces >* what else? > >Also, i've learnt that the CSS could be gzipped/zipped and transferred then? >How can I configure that in apache? > > >Thanks and regards > >-- >Shamail Tayyab >Blog: http://shamail.in/blog > >-- >You received this message because you are subscribed to the Google Groups >"Django users" group. >To post to this group, send email to django-us...@googlegroups.com. >To unsubscribe from this group, send email to >django-users+unsubscr...@googlegroups.com. >For more options, visit this group at >http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.