<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Baylus.com &#187; CDN</title>
	<atom:link href="http://www.baylus.com/tag/cdn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.baylus.com</link>
	<description>Asa Baylus is a Website Designer working in Washington DC</description>
	<lastBuildDate>Thu, 29 Dec 2011 19:00:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Load YUI-CSS from the Google Ajax Library</title>
		<link>http://www.baylus.com/load-yui-css-from-the-google-ajax-library/</link>
		<comments>http://www.baylus.com/load-yui-css-from-the-google-ajax-library/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:21:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My Work]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[YUI-CSS]]></category>

		<guid isPermaLink="false">http://www.baylus.com/?p=322</guid>
		<description><![CDATA[If you thought you had to load YUI-CSS from Yahoo!'s CND it's also possible to load files from Google Ajax Library. Keeping the number of domains to a minimum give you a small performance boost. ]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using Google CDN to load my Ajax libraries specifically jQuery and jQuery UI. Its been working great but I&#8217;m often annoyed that I have to load Yahoo!&#8217;s YUI-CSS files from the yahoo CDN. However I recently found that I did not need to do this. Google also maintains the YUI-CSS files which can be accessed using the following URL:</p>
<p><a href="http://ajax.googleapis.com/ajax/libs/yui/2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css">http://ajax.googleapis.com/ajax/libs/yui/2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css</a></p>
<p>which is equivalent to:</p>
<p><a href="http://yui.yahooapis.com/2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css">http://yui.yahooapis.com/2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css</a></p>
<p>Since DNS lookups are cached, keeping the number of domains to a minimum gives you a small performance boost. </p>
<blockquote><p>&#8220;The Domain Name System (DNS) maps hostnames to IP addresses, just as phonebooks map people&#8217;s names to their phone numbers. When you type www.yahoo.com into your browser, a DNS resolver contacted by the browser returns that server&#8217;s IP address. DNS has a cost. It typically takes 20-120 milliseconds for DNS to lookup the IP address for a given hostname. The browser can&#8217;t download anything from this hostname until the DNS lookup is completed.&#8221;</p>
<p><a href="http://developer.yahoo.com/performance/rules.html#dns_lookups">Read more at Yahoo!</a></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.baylus.com/load-yui-css-from-the-google-ajax-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

