Automatic JavaScript Minification Trial

Fillip H.

Staff member
Owner
Developer
Hey all,

As many of you know, DBTech mods frequently make use of JavaScript (JS for short). We've had multiple requests to "minify" our JS files from people concerned with the performance of their websites and the load times for users who are browsing from a slow internet connection.

Compressing JS files poses challenges for the developer, as having to run it through a compressor after every single change can be quite tiresome, especially if it's an ongoing process of testing and fixing bugs.

However, a recent discovery on my part has eliminated this issue. I've installed a server-side PHP extension that lets me compress the JS files for our mods as you're downloading them.

In short, starting right now, all products (including older versions) downloaded from today will have "minified" JS.


To give you an idea of the differences, we'll look at vbshout.js for vB3/vB4.

Before minification: 58.7 KB (60192 bytes)
After minification: 36.9 KB (37795 bytes)
That's a file size reduction of ~37.21% before GZip or any other server-side optimisations on your server!


If you're interested in reading up on the differences between Minification (what we use) and Obfuscation, and why you should care, you can click here: High Performance Web Sites: Rule 10


Thanks for your continued support :)

Discuss this news here.
 
Back
Top