Microsoft AJAX CDN – Now with SSL Support

Back in September I blogged about the new Microsoft AJAX CDN (Content Delivery Network) service that the ASP.NET team is now providing.  The CDN provides edge caching support for AJAX libraries (including jQuery and ASP.NET AJAX).  The service is available for free, does not require any registration, and can be used for both commercial and non-commercial purposes.  It offers a great way to speed up your external facing web-sites.

SSL Support Now Provided

One of the features in September that we said was coming (but which was not available at the initial launch) was SSL support for scripts served off of the CDN.  This is necessary for scenarios where you have SSL enabled pages on your site, and you want to reference a script library from the Microsoft CDN and avoid a “This page contains both secure and non-secure items” warning message being displayed to end-users visiting your site.

SSL support is now enabled with the scripts hosted on the Microsoft AJAX CDN.  Simply use an “https” moniker with any script references on your site that point to the CDN, and they will now be served over SSL.  For example, below is how you can reference jQuery over SSL:

   <script src="https://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>   

The Microsoft AJAX CDN documentation has recently been updated with more details about it.  You can visit it here to learn more. It lists all of the libraries currently offered via the CDN.  We are steadily adding more libraries to it and will update the page as new ones become available.

Hope this helps,

Scott

P.S. In addition to blogging, I’m also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu

Published Sunday, November 29, 2009 5:55 PM by ScottGu

Comments

# re: Microsoft AJAX CDN – Now with SSL Support

Sunday, November 29, 2009 9:20 PM by alberto

Nice, that was needed.

# re: Microsoft AJAX CDN – Now with SSL Support

Sunday, November 29, 2009 10:03 PM by Aaron Powell

will SSL support be available from the ScriptManager when using in CDN mode?

# re: Microsoft AJAX CDN – Now with SSL Support

Sunday, November 29, 2009 10:50 PM by alessandro

CDN is quite an interesting idea. Good to know that you now provide SSL too.

Thanks

# re: Microsoft AJAX CDN – Now with SSL Support

Monday, November 30, 2009 2:16 AM by jack.niu

Nice, SSL is more and more popular nowadays. Many web sites prefer SSL for security reason.

# re: Microsoft AJAX CDN – Now with SSL Support

Monday, November 30, 2009 2:52 AM by Timmy Kokke

Great news! This was the reason we couldn't use the CDN. Updating my code right away ;)

# re: Microsoft AJAX CDN – Now with SSL Support

Monday, November 30, 2009 5:33 AM by jp

What makes Microsoft AJAX CDN superior from code.google.com/apis/ajaxlibs and/or yui.yahooapis.com?

# re: Microsoft AJAX CDN – Now with SSL Support

Monday, November 30, 2009 7:52 AM by markvt

This is a very nice addition to the cdn, i wasn't using it since our visitors would have errors on non https from our https website but this could really help.

# re: Microsoft AJAX CDN – Now with SSL Support

Monday, November 30, 2009 10:47 AM by Alex P

Good news

PS: starting to hate pingbacks

# Home Income Blog &raquo; Microsoft AJAX CDN ??? Now with SSL Support - ScottGu&#39;s Blog

Pingback from  Home Income Blog &raquo; Microsoft AJAX CDN ??? Now with SSL Support - ScottGu&#39;s Blog

# re: Microsoft AJAX CDN – Now with SSL Support

Monday, November 30, 2009 9:41 PM by worldspawn[]

Still waiting for jQuery UI!!

# re: Microsoft AJAX CDN – Now with SSL Support

Tuesday, December 01, 2009 2:22 AM by H IT

Hi,

With many Indian software engineers in the global software industry, and most of them being Hindu, this should not come as a surprise!

This is the URL for my Picasa Web Album:

http://picasaweb.google.com/[my username here snipped for privacy]/UcAsTE?authkey=[generated part of the URL here snipped for privacy]#

catch the "caste" in the middle of the URL! "as in, What's ur caste buddy?"!! - "ucAsTE?!!"

This is the URL for my Gmail Inbox in Chrome:

mail.google.com/mail part snipped for privacy>&shva=1#inbox

and in IE:

mail.google.com/mail part snipped for privacy>&shva=1&ui=1&ov=0

Catch the "shva" (shiva!) in the middle!

(Note the https for gmail, I've enabled that in account settings - and you may not get these results for http.

The picasa album URL is not https but http, as I used it to share the photo album it with no login required.)

Also, the Google "Chrome" browser has "Om" in the middle! Chr"Om"e!

As a side note, "Google" may also be interpreted as "Good-gle", "God-gle".

So much for the company that wants to do "good things for the world"!

Thanks

# Daily tech links for .net and related technologies - December 1-2, 2009

Tuesday, December 01, 2009 5:29 AM by Sanjeev Agarwal

Daily tech links for .net and related technologies - December 1-2, 2009 Web Development ASP.NET MVC Validation

# TrendSiters &#8211; Digital Content and Web Technologies | Promotional Content Marketing Wisdom

Pingback from  TrendSiters &#8211; Digital Content and Web Technologies | Promotional Content Marketing Wisdom

# re: Microsoft AJAX CDN – Now with SSL Support

Tuesday, December 01, 2009 8:01 AM by Esben

This is Great! What about the jQueryUI will you add support for this in the future?

# Microsoft AJAX CDN with SSL support

Tuesday, December 01, 2009 8:16 AM by Microsoft AJAX CDN with SSL support

Pingback from  Microsoft AJAX CDN with SSL support

# New and Notable 394

Windows AppFabric/WF 4.0 Getting Started with Windows Server AppFabric - The AppFabric team in a post to the CSD blog The .NET Endpoint, takes you through the steps of installing AppFabic (including prerequisites) and getting started with tutorials. If

# re: Microsoft AJAX CDN – Now with SSL Support

Tuesday, December 01, 2009 11:58 PM by be789

Please consider adding jqueryui.

# re: Microsoft AJAX CDN – Now with SSL Support

Wednesday, December 02, 2009 8:37 AM by Lucifer

Hi Scott

Now many nodes does the CDN have?

Lucifer

# Microsoft AJAX CDN现在支持SSL了

Thursday, December 03, 2009 3:05 PM by ASP.NET Chinese Blogs

【原文地址】 Microsoft AJAX CDN – Now with SSL Support 【原文发表日期】 Sunday, November 29, 2009 5:55 PM 九月的时候, 我曾在博客中写到

# Microsoft AJAX CDN ??? Now with SSL Support - ScottGu's Blog

Thursday, December 03, 2009 3:23 PM by Microsoft AJAX CDN ??? Now with SSL Support - ScottGu's Blog

Pingback from  Microsoft AJAX CDN ??? Now with SSL Support - ScottGu's Blog

# re: Microsoft AJAX CDN – Now with SSL Support

Wednesday, December 16, 2009 3:04 AM by Web Development

AJAX being an important part of web development means a lot to web developers and its support with SSL has made website more secured thanks for posting important stuff

# re: Microsoft AJAX CDN – Now with SSL Support

Wednesday, January 06, 2010 7:34 AM by Portal Development

this is good to hear

# re: Microsoft AJAX CDN – Now with SSL Support

Thursday, January 07, 2010 10:39 AM by Richard

Thanks very much - Every little helps!!

# re: Microsoft AJAX CDN – Now with SSL Support

Tuesday, January 12, 2010 1:26 AM by Ignoramous Rex

Hi Scott

I recently posted a question on the ASP.Net forums regarding the locations of Microft's CDN server locations (mail.google.com/mail):

"I have  a client with branches spread over multiple african countries such as Botswana and Zambia.  Problem is, in Africa download speeds are really slow, and even slower when the website you are connecting to is outside of your country's border (local ISP's "throttle" your bandwidth for international downloads, meaning that your download time increases about ten times).

I am contemplating the possiblity of utilising Microsoft's CDN, but do not want to go through all the trouble if they do not have servers in the countries I am targeting.  

Google does not seem to have any answers.  Can somebody provide some info on Micrsoft's CDN server locations?"

Unfortunately I am not able to perform speedtests from my current location and asking my customers or users to perform these tests is only an absolute last resort (in fact, I don't think its a viable option, but I digress).

Could you or Microsoft possibly provide a list of countries in which your CDN edge cache servers are hosted?

Regards

# re: Microsoft AJAX CDN – Now with SSL Support

Thursday, January 14, 2010 6:49 PM by Toby Brain

Hi Scott

We've just made the switch to the Microsoft jQuery CDN due to SSL support, however when accessing a page which uses the SSL version of the file from an Android device the browser crashes. We can get around the crash by using nonsecure versions, however when using the Google equivalent (ajax.googleapis.com/.../jquery.min.js) the page works fine. Performing a diff on both files yeilds no changes and so I'm thinking that it's something to do with your CDN.

Do you have any ideas or any other reports of this happening.

Thanks,

Toby