<?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>#adamSentz{dot:com;} &#187; CSS</title>
	<atom:link href="http://adamsentz.com/category/web/web-design/css-web-design-web/feed/" rel="self" type="application/rss+xml" />
	<link>http://adamsentz.com</link>
	<description>= Mac + Web</description>
	<lastBuildDate>Thu, 14 May 2009 19:34:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Caching Hack</title>
		<link>http://adamsentz.com/css-caching-hack/</link>
		<comments>http://adamsentz.com/css-caching-hack/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 21:06:07 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://adamsentz.com/?p=122</guid>
		<description><![CDATA[Great tip from Stefan Hayden on how to make sure users get the latest version of you stylesheets when you do an update.
The trick is to pass a variable on the end of the CSS file like so:



&#60;link rel="stylesheet"
href="http://www.stefanhayden.com/style.css?version=1"
type="text/css" /&#62;



When a browser looks to see if it has anything cashed it compares file names. If [...]]]></description>
			<content:encoded><![CDATA[<p>Great <a href="http://www.stefanhayden.com/blog/2006/04/03/css-caching-hack/">tip</a> from <a href="http://www.stefanhayden.com/blog/">Stefan Hayden</a> on how to make sure users get the latest version of you stylesheets when you do an update.</p>
<blockquote><p>The trick is to pass a variable on the end of the CSS file like so:</p>
<div class='code_parent'>
<div class='code_child'><code>
<div class='pre_container'>
<pre>&lt;link rel="stylesheet"
href="http://www.stefanhayden.com/style.css?version=1"
type="text/css" /&gt;</pre>
</div>
<p></code></div>
</div>
<p>When a browser looks to see if it has anything cashed it compares file names. If you have “style.css” in your cashe then it’s not going to download it again. But if the browser compares “style.css?version=1″ to what the new HTML is “style.css?version=2″ then the browser thinks they are different files and needs to download the new CSS file.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://adamsentz.com/css-caching-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
