The django-compress looks a bit better as it has the option to do the versioning (based on a file hash), compression, and concatenization with a management command. Django_compressor does this all on page load, which is not production worthy IMO.
Generating an MD5 hash on page load is un-needed overhead as well. In order to do this you are loading each js/css file into memory as you render your templates. If you are using either of these tools in production I highly recommend that you have those template fragments cached. Our compression scripts rely on the git-hash. The negative to this is that when you increase your version you expire every css/js file, though I feel this might be a benefit in some ways (we can alter all of our JS based by changing a version number in our settings file). The real positive to this is that you don't even touch the filesystem in production, let alone have to generate an md5 hash. As far as concatenization goes, I really believe that this at least should be separated out from the templates, if not just simply done by hand. Having random different concatenization of css/js littered throughout 100+ templates can be a bit daunting to maintain. Doing the concat in a python file would work very well though.... global = ('carousel.js', 'menu-bar.js', 'modal.js') newspage = ('widgets.js', 'calendar.js', 'weather.js') I've always just achieved the same effect by just throwing all the different little files that are required for each page type ... into one file, though that's probably due to a lack of an acceptable alternative solution rather than anything else. -k -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.