Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (36 sloc) 1.47 KB

YUI Master Combo Handler

Need to test YUI against master and need a combo handler?

Well, here's an example that pulls the JS & CSS from Github and combo's them.

The requests are cached in memory for 5 minutes to make sure we don't explode Github's rate limit.

I've hosted this over at in case you wanted to give it a shot.

How it works

It's basically a caching proxy to*

It only supports js & css, no images.

It also supports ?filter=raw|debug|min on the seed file to allow fo debugging.

When the seed file is served a small chunk of JS is appended to it to dynamically configure the combo server for you:

     root: "",
     filter: "min",
     comboBase: ""
YUI.version = "yui-master-combo";

This tells the YUI seed to use as it's combo base and set's the default filter to 'min' as well as modify the version stamp of the JS files.

All files that are passed through this 'proxy' will also have @VERSION@ replaced with the same stamp.


<script src=""></script>
<script src=""></script>
<script src=""></script>
YUI().use('node', function(Y) {
    //Good To Go!
Jump to Line
Something went wrong with that request. Please try again.