CDN(Content Delivery Network) Support
Since the RC2 release of the YUIAsp.Net controls CDN support was added.
To enable CDN support, you need to set the base CDN path in the web.config file. After that, all the scripts are requested starting from that CDN path.
Please note that by using a custom CDN only the yahoo scripts will be served from your custom location. The YUIAsp.Net scripts will still be served from the embedded scripts.
The versions of files: Debug, Raw or Minified will still be taken into account.
Google CDN support
To enable Google CDN support, just set the base CDN path to be http://ajax.googleapis.com/ajax/libs/yui/.
Yahoo CDN support
To enable Yahoo CDN support, just set the base CDN path to be http://yui.yahooapis.com/.
Local CDN
You can also set the base CDN path to point to a file on a web server. If you do that, all files will be feed from your custom path, and not from the embedded scripts in the assembly.
For example, you want to use a local CDN, like below.
Let's say the YUIAsp.Net will need the file yahoo.js. It will make a request for that file at /myCustomPath/2.6.0/build/yahoo/yahoo.js.