<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: javascript cache problem, solved</title>
	<atom:link href="http://verens.com/2008/04/09/javascript-cache-problem-solved/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/</link>
	<description>klog - Kae&#039;s Log</description>
	<lastBuildDate>Fri, 10 Feb 2012 21:49:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1096</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Tue, 27 Jan 2009 07:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1096</guid>
		<description>M@ñ, this solution is most likely not for you. The solution I&#039;ve posted above is specifically for PHP + Linux + Apache. You are probably using ASPX + Windows + IIS. Totally different environment.

You would have to get help from an experienced ASPX programmer.</description>
		<content:encoded><![CDATA[<p>M@ñ, this solution is most likely not for you. The solution I&#8217;ve posted above is specifically for PHP + Linux + Apache. You are probably using ASPX + Windows + IIS. Totally different environment.</p>
<p>You would have to get help from an experienced ASPX programmer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M@ñ</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1095</link>
		<dc:creator>M@ñ</dc:creator>
		<pubDate>Tue, 27 Jan 2009 06:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1095</guid>
		<description>Excuse me for being so dumbfounded here coz. I just started coding just lately. But how can I embed the codes if my ASPX that references the javascript?</description>
		<content:encoded><![CDATA[<p>Excuse me for being so dumbfounded here coz. I just started coding just lately. But how can I embed the codes if my ASPX that references the javascript?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BoÅ¡tjan</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1094</link>
		<dc:creator>BoÅ¡tjan</dc:creator>
		<pubDate>Sun, 31 Aug 2008 07:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1094</guid>
		<description>If there are more files, you can use the biggest filemtime (eg. modified time of last changed file) and it&#039;s allmost the same. ;)

But ms5 has an advantage: if you upload older version of the file, md5 is the same, and already cached my users browser.</description>
		<content:encoded><![CDATA[<p>If there are more files, you can use the biggest filemtime (eg. modified time of last changed file) and it&#8217;s allmost the same. <img src='http://verens.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>But ms5 has an advantage: if you upload older version of the file, md5 is the same, and already cached my users browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1093</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Wed, 27 Aug 2008 07:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1093</guid>
		<description>BoÅ¡tjan, that&#039;s a good solution if there is only one javascript file (the first case described above), but if there are multiple, then you need a unique string which will cover them all (the second case).

But yeah - I think in the first case, mtime is sufficient. You&#039;re right.</description>
		<content:encoded><![CDATA[<p>BoÅ¡tjan, that&#8217;s a good solution if there is only one javascript file (the first case described above), but if there are multiple, then you need a unique string which will cover them all (the second case).</p>
<p>But yeah &#8211; I think in the first case, mtime is sufficient. You&#8217;re right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BoÅ¡tjan</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1092</link>
		<dc:creator>BoÅ¡tjan</dc:creator>
		<pubDate>Wed, 27 Aug 2008 07:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1092</guid>
		<description>You don&#039;t need to calculate md5, you can simply use filemtime($file_url) instead - it&#039;s much faster!</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to calculate md5, you can simply use filemtime($file_url) instead &#8211; it&#8217;s much faster!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1091</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Mon, 30 Jun 2008 08:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1091</guid>
		<description>Domi, true. But &lt;a href=&quot;http://verens.com/archives/2005/08/25/always-end-a-javascript-statement-with-a-semi-colon/&quot; rel=&quot;nofollow&quot;&gt;also true of lines within the javascript&lt;/a&gt;. there&#039;s nothing I can do about the latter without much work. and if the writer tends to finish the lines in the middle of the file with semi-colons, then my guess is that the same author would finish the last line of the script with a semi-colon.</description>
		<content:encoded><![CDATA[<p>Domi, true. But <a href="http://verens.com/archives/2005/08/25/always-end-a-javascript-statement-with-a-semi-colon/" rel="nofollow">also true of lines within the javascript</a>. there&#8217;s nothing I can do about the latter without much work. and if the writer tends to finish the lines in the middle of the file with semi-colons, then my guess is that the same author would finish the last line of the script with a semi-colon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domi</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1090</link>
		<dc:creator>Domi</dc:creator>
		<pubDate>Thu, 26 Jun 2008 14:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1090</guid>
		<description>V. cool.

A possible refinement (depending on your js sources) is to add a semicolon on the end of each javascript file contents, for the case where the original doesn&#039;t have it (like if it&#039;s packed) and it runs into the next one.

Cheers</description>
		<content:encoded><![CDATA[<p>V. cool.</p>
<p>A possible refinement (depending on your js sources) is to add a semicolon on the end of each javascript file contents, for the case where the original doesn&#8217;t have it (like if it&#8217;s packed) and it runs into the next one.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: klog &#187; Blog Archive &#187; efficient JS minification using PHP</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1089</link>
		<dc:creator>klog &#187; Blog Archive &#187; efficient JS minification using PHP</dc:creator>
		<pubDate>Tue, 20 May 2008 21:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1089</guid>
		<description>[...] solution is to save the cached file in a file named using an MD5 of the last modified datetimes (genius idea - I&#8217;d love to shake the author&#8217;s hand). That way the cache will always be [...]</description>
		<content:encoded><![CDATA[<p>[...] solution is to save the cached file in a file named using an MD5 of the last modified datetimes (genius idea &#8211; I&#8217;d love to shake the author&#8217;s hand). That way the cache will always be [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikul Gohil</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1088</link>
		<dc:creator>Mikul Gohil</dc:creator>
		<pubDate>Wed, 07 May 2008 19:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1088</guid>
		<description>sorry for that i have removed from my site</description>
		<content:encoded><![CDATA[<p>sorry for that i have removed from my site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikul Gohil</title>
		<link>http://verens.com/2008/04/09/javascript-cache-problem-solved/#comment-1087</link>
		<dc:creator>Mikul Gohil</dc:creator>
		<pubDate>Wed, 07 May 2008 19:11:01 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2008/04/09/javascript-cache-problem-solved/#comment-1087</guid>
		<description>ok man i will just link  to your post sorry for that</description>
		<content:encoded><![CDATA[<p>ok man i will just link  to your post sorry for that</p>
]]></content:encoded>
	</item>
</channel>
</rss>

