 |
 User: Login | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Address URL | http://yuiblog.com/blog Registered: 26-Apr-2008 |
| Ads: | |
Send to email | Combo Handler Service Available for Yahoo-hosted JS in DevelopmentPerformance | By Eric Miraglia el 16-Jul-2008 | We’ve been talking for a long time at Yahoo about the importance of minimizing HTTP requests to improve performance. One important technique for YUI users has long been to use the pre-built "rollup" files (like yahoo-dom-event.js, which combines the YUI Core in a single minified HTTP request) and to create custom rollups that aggregate all of your YUI JS content in a single file. You’ll notice that we do a lot of this on our core Yahoo properties. For example, if you go to check on the Tour de France on Yahoo! Sports, you’ll find that numerous YUI components are aggregated with custom Sports-specific JS resources in a single HTTP request (here’s the aggregate file).
Thanks to the hard work of the Yahoo Exceptional Performance team and the groups that support our CDN, we’re now able to offer ad-hoc file aggregation — "combo handling" — to file served from yui.yahooapis.com. So, a request for the full YUI Rich Text Editor, which previously looked like this…
<script type="text/javascript"
src="http://yui.yahooapis.com/2.5.2/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript"
src="http://yui.yahooapis.com/2.5.2/build/container/container_core-min.js"></script>
<script type="text/javascript"
src="http://yui.yahooapis.com/2.5.2/build/menu/menu-min.js"></script>
<script type="text/javascript"
src="http://yui.yahooapis.com/2.5.2/build/element/element-beta-min.js"></script>
<script type="text/javascript"
src="http://yui.yahooapis.com/2.5.2/build/button/button-min.js"></script>
<script type="text/javascript"
src="http://yui.yahooapis.com/2.5.2/build/editor/editor-beta-min.js"></script>
…can now be written this way:
<script type="text/javascript"
src="http://yui.yahooapis.com/combo?2.5.2/build/yahoo-dom-event/yahoo-dom-event.js&
2.5.2/build/container/container_core-min.js&2.5.2/build/menu/menu-min.js&
2.5.2/build/element/element-beta-min.js&2.5.2/build/button/button-min.js&
2.5.2/build/editor/editor-beta-min.js"></script>
In one step, this eliminates five separate HTTP requests.
Combo handling is built into the YUI Configurator interface.: Paste this image in your site, Myspace, Facebook, Ebay copy this code...
A few notes regarding combo handling on yui.yahooapis.com:
- If you’re using the YUI Configurator, this option ("Combine All JS Files") is enabled by default as long as you’re using the default base path.
- Combo-handling of YUI CSS files is not supported at this time.
- In an upcoming release, we’ll provide built-in combo-handling support in YUI Loader and restructure filepaths in YUI’s CSS resources to make them combinable as well.
- YUI Configurator will always output the current version of the library, but all YUI JS files from 2.2.0 onward are present on
yui.yahooapis.com and can be combined using the same combo-handling syntax.
We hope combo handling provides a easy performance win for those of you letting Yahoo serve your YUI files. Discussion of combo handling and all YUI issues takes place in our community forum — please join us there and let us know how this works for you.
Read 8 times

|
|
 |
 |
 | Yahoo User Interface Blog | Blogger | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Combo Handler Service Available for Yahoo-hosted JS | We’ve been talking for a long time at Yahoo about the importance of minimizing HTTP requests to improve performance. One important technique for YUI users has long been to use the pre-built "rollup" files (like yahoo-dom-event.js, which combines the YUI Core in a single minified HTTP request) and to create custom rollups that aggregate all [...] [..] Read complete article |  | Published 16-Jul-2008 by Eric Miraglia in DevelopmentPerformance Read 8 times. More hits in  |
|
 | Yahoo User Interface Blog | Blogger | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Loading YUI: Seeds, Core, and Combo-handling | With the 2.6.0 release of YUI, the YUI Loader now supports combo-handling for both JavaScript and CSS files coming off of Yahoo’s CDN. YUI Loader is the utility that understands the YUI module structure and dependency list and can load any YUI component on the page on-demand. The addition of combo-handling makes YUI Loader an [...] [..] Read complete article |  | Published 17-Oct-2008 by Eric Miraglia in Development Read 4 times. More hits in  |
|
 | Nerdblog | Blogger | Provides news about hardware, software, notebooks, laptops, PCs, Mac, PDAs Nerdblog.Net |
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
| Sling Media Rocks New UIQ Player and Updated S60 Player at CTIA | You would be hard-pressed to find someone who has tried the Slingbox and Sling Player combo and not thoroughly enjoyed it. What’s not to like? For the price of a Slingbox and no monthly fees, you can take your home television service with you wherever you go as long as there’s an internet connection. The [...] [..] Read complete article |  | Published 02-Apr-2008 by Zach Epstein in ServicesSoftware Read 10 times. More hits in  |
|
 | Yahoo User Interface Blog | Blogger | Is a collection of industrial-grade JavaScript utilities and widgets that enable you to efficiently get the most out of today’s powerful web applications. Yahoo! User Interface Blog News and Articles about Designing and Developing wiht Yahoo! Libraries. |
| Reminder: YUI 3.x Meetup Tonight and Yahoo! Live Channel Info | | If you can’t make it to the YUI meetup tonight but you do want to drop in and see what’s going on, we’ll be broadcasting the event on the experimental Yahoo! Live service:
http://live.yahoo.com/miraglia
Live is a relatively recent product out of Yahoo’s Brickhouse development incubator. We haven’t used it for this purpose before, but since [...] [..] Read complete article |  | Published 03-Sep-2008 by Eric Miraglia in Development Read 6 times. More hits in  |
|
 | Nerdblog | Blogger | Provides news about hardware, software, notebooks, laptops, PCs, Mac, PDAs Nerdblog.Net |
| Review: Sierra Wireless Compass 597 USB modem | | The Sierra Wireless Compass 597 is the ultimate cellular data modem combo. The device folds high-speed data access and GPS service into a tiny USB cell modem and pairs it with new Mac OS X software that takes full advantage of the new hardware. MacWorld [..] Read complete article |  | Published 25-Jun-2008 by Nerdblog in General Read 7 times. More hits in  |
|
| MobileMe to go live between 6PM-12AM tomorrow | Those of you that have been patiently waiting for Apple’s new hosted PIM service to go online can begin rejoicing. The company has updated their .Mac status page, indicating that MobileMe will go live for new and current subscribers sometime between 6PM and 12AM on July 9th. During that maintenance window, Apple will be taking down their [...]
[..] Read complete article |  | Published 08-Jul-2008 by Joshua Karp in Appleiphone 3gMacMobileMe Read 5 times. More hits in  |
|
 | Kotaku`s The Gamers Guide | Blogger | XBOX 360 Gamers Weblog
Gossip, news and leaks for obsessive gamers Kotaku As if you don't waste enough of your time in a gamer's haze, here's Kotaku: a gamer's guide that goes beyond the press release. Gossip, cheats, criticism, design, nostalgia, pred |
|
Warning We are not responsible of information posted from external feeds. Use this website at your own risk.
Notice: We will not be liable for any direct or indirect loss or damage arising under this disclaimer or in connection with our website, whether arising in tort, contract, or otherwise.
|
|
| |