Working in the Web is mostly about being as light as possible so things get downloaded fast. If you have a website, you should "minify" your JavaScript and CSS files so there are compressed and use less bandwidth. You will have a web site that displays faster, happier visitors and less bottlenecks.
To minify, you can use Yahoo's YUI Compressor. There is an online version so you can compress your files directly on the Internet.. You can also install it on your server. This is how we do on a Debian/Ubuntu server:
Now it is installed you can use the following way:
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.