Ext

Ext CDN - Custom Builds, Compression, and Fast Performance

November 18, 2008 by Abraham Elias

We are pleased to announce that Ext has partnered with CacheFly, a global content network, to provide free CDN hosting for the Ext JS framework. Cachefly’s globally distributed network and aggressive caching accelerate the delivery of web content like JavaScript and CSS, making for an even faster Ext experience.

The Ext CDN also provides the ability to create your own custom builds using Ext’s Build It! tool, and host them on the CDN. The custom builder implements features to intelligently cache your component selections, adapter, and Ext version to create a unique custom build. These custom builds are cached across sessions and used by anyone who makes the same selections as you have - allowing for caching of custom builds across applications to fully realize the benefits of the CDN.

Creating a Custom Build

We’ve made the process of creating the custom build on the CDN as simple as a selecting the option.

Using the Custom build

To use your custom build on your own site, insert the output into the HEAD section of your site. If you needed to use a build with no grid or tree support you would just paste the following:

 <script type="text/javascript" src="http://extjs.cachefly.net/builds/ext-cdn-7.js"> </script>
 <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-2.2/resources/css/ext-all.css" />

For those of you that need the complete library and use ext-all.js and ext-all.css we have those available as well.

 <script type="text/javascript" src="http://extjs.cachefly.net/ext-2.2/ext-all.js"> </script>
 <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-2.2/resources/css/ext-all.css" />

Summary

There are many ways to judge an application’s performance, however none are as noticeable as the time it takes for an application to load. There are many techniques such as compression using gzip , minification using JSMin, and tools like YSlow to help developers make noticeable improvements. We hope the Ext CDN is another optimization our community will add to their toolbox.

24 Responses to “Ext CDN - Custom Builds, Compression, and Fast Performance”

  1. David

    This is great guys!

    FYI, the link to the CSS file is wrong, it should be:

    Note the word “resources” is spelled with a “c” instead of an “s”.

  2. David

    Correct URL for comment above:

    http://extjs.cachefly.net/ext-2.2/resources/css/ext-all.css

  3. Jack Slocum

    Thanks David. I corrected the link in the post above.

  4. Alex M.

    Great contribution to the community!

  5. Alex Moore

    The url http://cachefly.net needs to be http://www.cachefly.net

  6. Claude Betancourt's Technical Blog

    Ext-JS to Provide Free CDN Hosting for its Framework…

    This is great news for the Ext-JS community. Here is why you should take advantage of a content delivery network.
    We are pleased to announce that Ext has partnered with CacheFly, a global content network, to provide free CDN hosting for the Ext JS fram…

  7. Larry Gerndt

    How about https access? We can’t use http in our app or IE will put up the “This site contains secure and non-secure items blah blah I hate IE” (well, something like that)

  8. » Ext JS available via CDN - internet development - strictlyPHP

    [...] Until now: they have partnered with CacheFly. [...]

  9. links for 2008-11-19 « sySolution

    [...] Ext CDN - Custom Builds, Compression, and Fast Performance Ext CDN - Custom Builds, Compression, and Fast Performance (tags: extjs) [...]

  10. Ajaxian » CDNs Gaining Broader Use with JavaScript Libraries

    [...] team at Ext JS has taken an interesting approach to CDN usage by extending their library build manager to allow users to host their own custom build on the [...]

  11. Ajax Girl » Blog Archive » CDNs Gaining Broader Use with JavaScript Libraries

    [...] team at Ext JS has taken an interesting approach to CDN usage by extending their library build manager to allow users to host their own custom build on the [...]

  12. mysticav

    This run as faster as locally! This is incredible. You can know include ext-all.js without any download delay issues. Of course, if you build your own, you can increase the speed even more.

  13. Javascript News » Blog Archive » CDNs Gaining Broader Use with JavaScript Libraries

    [...] team at Ext JS has taken an interesting approach to CDN usage by extending their library build manager to allow users to host their own custom build on the [...]

  14. nateirwin.net » Blog Archive » Free CDN Hosting for the Ext JS Framework

    [...] a little late on this one, but I was just reading through some queued blog posts and discovered that Ext has teamed up with CacheFly to host their JavaScript [...]

  15. stevil

    I just wired this up to my application, and all I can say is “WOW”. This is a great move in the right direction for us. One question: Are there any plans to host any of the more common themes that are available (xtheme-slate is a perfect example) to further accelerate loading in themed applications?

    WOW.

  16. Gil

    This is great news and will encourage me to use Ext more. The v3.0 preview looks fantastic aas well so all in all things are looking really great for Ext

  17. Daily del.icio.us for November 18th through November 22nd — Vinny Carpenter's blog

    [...] Ext JS - Ext CDN - Custom Builds, Compression, and Fast Performance - We are pleased to announce that Ext has partnered with CacheFly, a global content network, to provide free CDN hosting for the Ext JS framework. Cachefly’s globally distributed network and aggressive caching accelerate the delivery of web content like JavaScript and CSS, making for an even faster Ext experience. [...]

  18. James

    Ext is the shit! Awesime work guys.

  19. David Davis

    What about https access? This hasn’t been addressed.

  20. Justin

    CacheFly doesn’t support SSL from what we could tell. Unfortunately, last I checked, neither did AOL’s, Google’s or Amazon’s CDN. We did some searching around and found Level 3 had SSL support. Hope that helps.

  21. Eduardo

    Google has just started delivering HTTPs content for Ajax Libraries over their CDN. Maybe now CacheFly will also do it ?

  22. Steven Roussey

    You don’t use it for your own site (the examples area for instance)…

  23. BuckBazooka

    Very nice!
    What about all the other resources, could they also not be put on the CDN? E.g.:

    extjs/resources/css/xtheme-gray.css
    extjs/adapter/ext/ext-base.js
    extjs/ext-lang-de.js

    What about ext-base.js and ext-all.js could it not be merged to diminish request count?

  24. jimmy

    Is the cdn file a complete extjs build it seems to be missing one class ‘Ext.form.Label‘ when compared to ‘ext-all.js’(Line no 140: Ext.form.Label)

    anyone else have trouble with this???

    Bye the way I love extjs!!!!!!

Leave a Reply

To prove that you're not a bot, please answer this question:



© 2006-2009 Ext, LLC