The previous parts are here (building and testing) and here (what gets minified). Now let’s see how YUI CSS min handles CSS hacks. As you know CSS hacks often use errors in CSS parsers in browsers to target specific browser versions and supply additional rules to work around other issues in said browsers. That makes […]
Archive for the 'yui' Category
YUI CSS Min – part 2
May 20th, 2010The first part is here. It was more about building the YUICompressor, writing and running test cases. Now let’s see what the compressor does exactly to your CSS. BTW, you can play with the web UI to see for yourself how the minifier works. Stripping comments and white space This is the bare minimum a […]
YUICompressor’s CSSMin
Mar 10th, 2010Honored to be a part of the YUI project, I am now helping with the maintenance of the CSSMin part of the YUICompressor. My changes are now part of the trunk on github, so I’m official. Next on the agenda is documenting the thing, so that’s what I’ll try to do here, maybe in a […]
One-click Minifier Gadget (OMG) – initial checkin
Jan 31st, 2010So I’ve been thinking and talking to folks about this idea of having one-stop shop for all your minification needs. Minification of JS and CSS as well as image optimization helps site performance by reducing download sizes. This is good. But not a lot of people do it. People don’t do it, because it’s a […]
Performance job offers
Jan 28th, 2010I’m sure quite a few of you my fellow readers are crazy about web performance. And if you’re seeking new challenges, timing can’t be any better. Below are three excellent opportunities in three of the most high-traffic sites on the planet. Yahoo! Search is hiring a senior performance engineer. Yep, you’ll be working with me […]
Reducing the payload: compression, minification, 204s
Dec 11th, 20092010 update: Lo, the Web Performance Advent Calendar hath moved Dec 11 This post is part of the 2009 performance advent calendar experiment. Stay tuned for the next articles. After removing all the extra HTTP requests you possibly can from your waterfall, it’s time to make sure that those that are left are as small […]
cssmin.js
Sep 23rd, 2009cssmin.js is a JavaScript port of YUICompressor’s CSS minifier. The motivation Minifying CSS helps reduce file sizes and makes your pages faster and your users happier. YUICompressor is cool but is written in Java, which can be a blocker for some folks – you know JVM, command line, classpaths… No more excuses, now you have […]
Sorting CSS to reduce gzip file sizes?
Sep 2nd, 2009Yesterday I came across this post (via Ajaxian), it talks about how you might be able to end up with smaller file sizes (after gzipping) if you help gzip a little bit by sorting the CSS properties and values in stylesheets, so they are as similar and close to each other as possible. Now obviously […]
Search site bookmarklet with YUI and BOSS
Feb 21st, 2009Ever wanted to search only the web site you’re currently on? Not the page, but the whole site. And only this site, not the rest of the web. This bookmarklet does just that. Install Right-click this link and add to your bookmarks/favorites. Or just drag to your bookmarks toolbar. search site Or if you don’t […]
OOJS book free chapter 8 on YUIblog
Sep 26th, 2008Chapter 8 of the Object-Oriented JavaScript is available at the YUIblog.com. Enjoy! Chapter 2 is also available at the publisher’s site. Probably thanks to YUIBlog, the book was #7#6 in the JavaScript category on Amazon today, not bad. It’s the highest I’ve seen it, not that I’m obsessed with checking sales rank. It’s the journey, […]
My online footprint lately
Jul 23rd, 2008This is a sort of a catch-up post for listing what I’ve been up to lately. YUI Blog just published my first article, I’m so proud. It’s about loading JavaScript in non-blocking fashion, because JavaScripts, they, you know, like, block downloads. Luckily, there’s an easy fix – DOM includes, which I’ve previously discussed, discussed and […]
Sancta Simplicitas: minimalistic WordPress theme using YUI CSS
Apr 25th, 2008Sancta Simplicitas is a WordPress theme that uses YUI CSS utilities: reset, base, fonts, grids. It’s very minimalistic in a sense that it’s pretty much all white and simple. Hence the name. The theme is probably not usable by itself, but it’s a base on top of which you can create your own themes. When […]
YUI pie chart example
Jan 16th, 2008If case you haven’t noticed – YUI Charts hit the streets. As with everything new, it’s best shown and understood by example. So here’s the simplest example of using a pie chart. Basically I took the example from the YUI page, changed all the paths to point to yahooapis.com (where YUI is hosted for free) […]
YUI anywhere (bookmarklet)
Jun 8th, 2007Hooked on YUI? You can now take it anywhere you go. The thing is Yahoo hosts the libraries publicly, so they are available at any time. Let’s say you visit a page and you want to do something with it. Comes the YUI bookmaklet that adds a new script tag to the page pointing to […]
YUI good for your performance
Apr 1st, 2007One of the cons of using any of the good and popular third-party JS libraries is the file size of the .js files associated with them. A lot has been done by the library developers to address this issue – providing minified versions, segregating the script files based on what they do and using loading-on-demand, […]
Exploring Web1.0 kitsch – YUI snowflakes
Sep 24th, 2006This post talks about how to make the snowflakes effect using YUI.
AJAX MVC (so to speak)
Sep 19th, 2006This is sort of a framework thing to create AJAX applications, based on the MVC design pattern. Yep, I have a lot of buzzwords here, I admit, but this shouldn’t be taken too seriously. I was doing a bunch of small projects lately and I found myself using something like this little framework, without even […]
Fly Yahoo UI
Mar 28th, 2006Make your content management application fly with the Yahoo JavaSrcipt UI