<?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>Chris: Geek Guy &#187; Web</title>
	<atom:link href="http://chris.gg/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.gg</link>
	<description>Tech news and other stuff from a UK-based web developer and all-round geek</description>
	<lastBuildDate>Sat, 31 Jul 2010 17:13:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Google&#8217;s clever image preloading technique</title>
		<link>http://chris.gg/2010/01/googles-clever-image-preloading-technique/</link>
		<comments>http://chris.gg/2010/01/googles-clever-image-preloading-technique/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 19:53:16 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[preloading]]></category>

		<guid isPermaLink="false">http://chris.gg/?p=555</guid>
		<description><![CDATA[I noticed today that the Google logo shown at the top of all search results is actually a composite image, sliced up through clever use of CSS positioning: At first, I thought of this as nothing more than a neat trick, but then I began to think about why Google might have decided to use [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed today that the Google logo shown at the top of all search results is actually a composite image, sliced up through clever use of CSS positioning:</p>
<p><img class="aligncenter size-full wp-image-556" title="Google nav logo" src="http://chris.gg/wp-content/uploads/2010/01/nav_logo71.png" alt="Google nav logo" width="164" height="106" /></p>
<p>At first, I thought of this as nothing more than a neat trick, but then I began to think about why Google might have decided to use this technique to their advantage.</p>
<p>Whenever a client browser requests a page, it will also make a request for each of the images (and other media) embedded into the page. Once an image has been displayed once, it is usually cached client-side to conserve bandwidth and improve performance for subsequent loads. For example, the RSS logo at the top of my blog will be downloaded from my server on your first visit, but as you move through the site, future references to the file will be fulfilled from your browser&#8217;s cache.</p>
<p>Google isn&#8217;t particularly image-heavy, but a typical results page could contain five or more &#8216;sprites&#8217; or graphical elements. By squeezing them into a single file, user&#8217;s Web browsers need only make two requests (one for the page itself and one for the composite image) instead of six or more.</p>
<p>This might sound trivial, but considering that Google serve billions of result pages to millions of different visitors every day, the cumulative saving in bandwidth and server resources is likely to add up to quite a figure.</p>
<p>If you operate a moderately high-traffic site, it might be worth considering using similar tactics. The only other site that I&#8217;ve noticed that has used CSS image slicing in this way is the now-defunct Cdiscount UK site, for its pricing images.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2010/01/googles-clever-image-preloading-technique/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>History of the IMG tag</title>
		<link>http://chris.gg/2009/11/history-of-the-img-tag/</link>
		<comments>http://chris.gg/2009/11/history-of-the-img-tag/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 19:39:56 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://chris.gg/?p=256</guid>
		<description><![CDATA[Mark Pilgrim discusses the history of the now-ubiquitous IMG tag and the controversy surrounding the way it has changed the web. (via Boing Boing)]]></description>
			<content:encoded><![CDATA[<p><a href="http://diveintomark.org/archives/2009/11/02/why-do-we-have-an-img-element">Mark Pilgrim discusses the history of the now-ubiquitous IMG tag and the controversy surrounding the way it has changed the web.</a></p>
<p><img class="aligncenter size-full wp-image-257" title="img" src="http://chris.gg/wp-content/uploads/2009/11/img.png" alt="img" width="504" height="217" /></p>
<p>(via <a href="http://www.boingboing.net/2009/11/02/history-of-the-img-t.html">Boing Boing</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2009/11/history-of-the-img-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
