views:

77

answers:

2

Here's what I mean. In developing my ASP.NET MVC based site, I've managed to offload a great deal of the static file hosting and even some of the "work". Like so:

  1. jQuery for my javascript framework. Instead of hosting it on my site, I use the Google CDN

  2. Google maps, obviously "offloaded" - no real work being performed on my server - Google hosted

  3. jQueryUI framework - Google CDN

  4. jQueryUI CSS framework - Google CDN

  5. jQueryUI CSS framework themes - Google CDN

So what I'm asking is this, other than what I've got listed...

What aspects of your sites have you been able to offload, or embed, from outside services?

Couple others that come to mind...

OpenAuth - take much of the authentication process work off your site Google Wave - when it comes out, take communication work off of your site

+1  A: 

In the past I've used Amazon AWS.

Their S3 service was cheap for hosting Images and video.

The EC2 service is also good for additional computational power or just removing load from your server.

In additon to Pay for hosted services you can use Youtube or Vimeo to host videos and they API will allow you to upload and host videos.

There are also APIs for may other services depending on exactly what you're wanting to do. If you looking at adding functionality to your site but without hosting the service it would be worth checking out http://www.programmableweb.com/

Webmonger
Sorry I forgot to say. Thnking about the future you could outsource your site hosting completely to Windows Azure as long as you understand the implications of data access etc...
Webmonger
+1  A: 

Even though Google's CDN has smaller files and faster response times, I'm now using Microsoft's CDN for jQuery. Why? Big Brother.

In some high-security companies, they only allow access to known domains. Users at those companies had problems because their firewalls didn't know googleapis.com, and blocked jQuery. They knew microsoft.com, so ajax.microsoft.com worked.

I've suggested to google that they change their URL from ajax.googleapis.com to something.google.com to avoid the issue in the future.

Matt
Good call, something to look out for. Thanks.
Chad
Google likely hosts their AJAX APIs on a unique domain so the least amount of data is sent over the line. If you access something.google.com, any cookies for *.google.com will also be sent by the client. This may seem irrelevant but saving time over the wire is one of the reasons people use Google's hosted copy.
Andrew Koester
Ahh, good point. Still, if it's a choice between slower or blocked, slower wins. I'll have to try loading up my browser with microsoft.com cookies and see how the CDN compares to my company's servers.
Matt
Found a google.com way to do it. Include http://www.google.com/jsapi then call google.load("jquery","1.3.2"); Of course, then the user has to download the google loader script plus jQuery, and the requests may be full of cookies. [EDIT] Actually, scratch that. The loader script is from google.com, but jQuery still comes from ajax.googleapis.com
Matt