Search

Assorted Linkage

Current Terror Alert Level

ClustrMap

« XIDED 00.02.00 Released | Main| Auld Lang Syne »

YAHOO.ext compressed

Category show-n-tell thursday
After hours of repetitive motion, here it is: a compressed version of yui-ext, the marvelous extension to the YUI developed by Jack Slocum.

This library adds so much to the already impressive YUI, but in its original "minified" version, it adds 275 KB to the page-weight of any content utilizing it (in addition to any of the core YUI components you're using). Jack recommended I try using GZIP, but after testing Domino's hidden implementation, I was rather disappointed with the results. Simply put, I suspect there's a very good reason they're hiding that feature for now. Besides, my primary reason at present for using this library is that it drives the user interface for XIDED, and I'm hesitant to recommend that my users exploit an undocumented feature of Domino just to enhance the performance of my application.

So I ran the most recent release of yui-ext through JSLint to identify and correct any syntactical issues that would prevent successful compression (mostly missing or unnecessary semicolons / curly braces). The above ZIP file contains the resulting file (yui-ext-lint.js), as well as a compressed version of that file (yui-ext-min.js). This drops the file size from 275 KB to 146 KB. Still a bit hefty, but on slower connections the difference is noticeable.

Contact Me

Hire Me

Elsewhere

What the Quote?

"Your beard is my guitar."

Laura Tripcony

"We thought we'd be brilliant and just copy your code, and your code said, 'Yeah, you're funny'."

Monica Ferrante

"I think the Pope resembles a jack-o-lantern. He's just got the kind of face you wanna carve into a pumpkin."

Pete Oberlin

"Business value... IN MY PANTS."

Steven Rodgers

"You can't polish a turd."

Michael Nurre

Apparel

Lotus Rocks

I write the code that makes the young girls cry