According to O'Reilly High-Performance Websites (pages 15-16), it is highly recommended that you make as few HTTP requests as possible for high-performance. So, is there a library for combining several JS files into one file, and also a library for this for CSS?
For JavaScript, I now have at least 4 different libraries, jQuery 1.6.x, several jQuery plugins and one application JavaScript file for the application logic. I also have 2 CSS files, Bootstrap and my application CSS file.
Are there any tools to facilitate this? It would be nice to have a tool that I could use with Python or from Bash (I'm on Linux) to “compile” and minimize a few CSS stylesheets.
(If this is possible as a Django addon, even better [ie manage.py packify static/bootstrap.min.css static/application.css ...
])
source share