Does anyone use the Content Delivery Network for Dojo?

I must say, the Dojo toolkit site is much nicer than what I remember over a year ago.  I am able to find things a lot faster and the code samples are getting a lot better.  I started looking at the page about CDN’s and while I think this is interesting I also feel my site could easily break if I reference one of these and it happens to not be available.  I have started integrating small amounts of Dojo into my blog and the first thing I came up against is whether I house Dojo on my site or use one of the cross-domain Dojo distributions.  So why would anyone want to do this?  Outside of the end reader getting a copy from a closer network server, I really can’t think of a good reason to use a CDN.  And given that many people are probably hitting sites with Dojo on them its most likely cached anyway.

2 thoughts on “Does anyone use the Content Delivery Network for Dojo?

  1. Using a CDN is a big bonus actually … first unless you use a CDN, it has no chance of being cached through use on another site, that only happens if you use a CDN that another site has referenced already. Browser cache is based on URL, not content … If it comes from your site, the browser must download it from your site… As for availability and uptime, the CDN from Google or AOL probably has a better chance of being 100% up versus the server your blog is on, and a regionally located server does add up too … i’ve heard around 20% increase in response time … anyway, something to think about. BTW, if anybody wants to consider this for XPages apps, you can’t, as the XPages Dojo build has been run through a dojo compressor to include IBM specific code for the XSP object, etc…


  2. Yes, that is a good point about the cache but I also figure if people ever come to my blog it would only cache once.

    That is interesting about XPages, I wonder if the XPage team has considered using a CDN like technology within a Domino domain for geographically dispersed locations with local servers.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s