Book Sale! Save $10 on any book or combo at Perishable Press Books with discount code: REDESIGN_2015
2007 Apr 24
Daily Archive

Compressed JavaScript Compression

In this article, we extrapolate our favorite CSS-compression technique for JavaScript. Below, we outline the steps required to auto-compress your JavaScript documents via gzip and PHP. Two different compression methods are presented. The first method does not require htaccess, but rather involves the manual editing of JavaScript files. The second method employs htaccess to do all the work for you, thus requiring much less effort to implement. In either case, the result is the same: automatically compressed content delivered only to supportive browsers, resulting in reduced bandwidth, faster loading times, and smiling visitors :) Read more »

Latest Tweets Posting lots of new tutorials and code snippets at WP-Mix! wp-mix.com