
<?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>Dan Cole &#187; Internet</title>
	<atom:link href="http://dan-cole.com/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://dan-cole.com</link>
	<description>An Electrical Engineer And Web Developer</description>
	<lastBuildDate>Tue, 01 Jun 2010 04:12:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>An Open Source Model, Insane</title>
		<link>http://dan-cole.com/an-open-source-model-insane/</link>
		<comments>http://dan-cole.com/an-open-source-model-insane/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 04:12:10 +0000</pubDate>
		<dc:creator>dancole</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://dan-cole.com/?p=132</guid>
		<description><![CDATA[Pink: Think about open source software in general—whether it’s Linux or Apache. Suppose I’d gone to an economist or management consultant 25 years ago and said, “I’ve got a cool new business model for making software. Here’s how it works: A bunch of intrinsically motivated people around the world get together to do technically sophisticated [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Pink:</strong> Think about open source software in general—whether it’s Linux or  Apache. Suppose I’d gone to an economist or management consultant 25  years ago and said, “I’ve got a cool new business model for making  software. Here’s how it works: A bunch of intrinsically motivated people  around the world get together to do technically sophisticated stuff for  no pay. And then after working really hard, they give away their  product for free. Trust me: It’s going to be huge.”</p>
<p><strong>Shirky: </strong>He would have thought you were insane.</p></blockquote>
<p>[link] <a href="http://www.wired.com/magazine/2010/05/ff_pink_shirky/2/">Cognitive Surplus: Th Great Spare-Time Revolution</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dan-cole.com/an-open-source-model-insane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Bad Tip For Speeding Up Your Site</title>
		<link>http://dan-cole.com/a-bad-tip-for-speeding-up-your-site/</link>
		<comments>http://dan-cole.com/a-bad-tip-for-speeding-up-your-site/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 01:01:17 +0000</pubDate>
		<dc:creator>dancole</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://dan-cole.com/?p=38</guid>
		<description><![CDATA[I take most things with a grain of salt. One thing in particular keeps popping up and because of my web experience I just have to question and test what I&#8217;m being told. The tip in question is converting particular PHP tags into static HTML to speed up your site. It was #2 on Pro [...]]]></description>
			<content:encoded><![CDATA[<p>I take most things with a grain of salt. One thing in particular keeps popping up and because of my web experience I just have to question and test what I&#8217;m being told. The tip in question is converting particular PHP tags into static HTML to speed up your site. It was #2 on Pro Blog Design&#8217;s post <a href="http://www.problogdesign.com/wordpress/10-ways-to-speed-up-your-wordpress-blog/">10 Ways to Speed up Your WordPress Blog</a>, but also an entire post in <a href="http://www.problogdesign.com/general-tips/13-tags-to-delete-from-your-theme/">13 Tags To Delete From Your Theme</a>, on the same site. At first it seams like a valid tip&#8230; less PHP means faster processing and that leads to a faster load time, but I&#8217;m a theme developer and I love my code.</p>
<p>To test out this tip, I setup a quick test to see how long each method took. Being a developer, I actually new quite a few ways PHP could be mixed in with HTML, so I setup the four most common methods. They are: only static HTML, echo-ing static HTML, PHP only where needed, and echo-ing everything (static and PHP parts). The results were how it first seamed, static HTML is faster&#8230; 200 times faster to be honest. So&#8230; I thought it would be faster, it turn out to be faster, and yet I still questioned the tip.</p>
<p>Here&#8217;s why I questioned it. A page loading time is made up of a few factors, one of them is the server processing the PHP, but the code is going to be processed at a rate of billions of commands per second. Although one PHP command never equals one command in the CPU, that&#8217;s besides the point. Removing these suggested lines of code is not going to change the speed up your website at all, because it&#8217;s only a couple of commands.</p>
<p>The truth is, while it may be 200 times faster to use static HTML instead of PHP, the total time of the slowest one is 1/10,000<sup>th</sup> of one second. If you are worried about that amount of time, I&#8217;d like to point out that the human reaction time is 1/10<sup>th</sup> of one second. But I will not stop there, here is the biggest factor that kills this tip&#8230; caching. If you have any caching turned on, such as in Apache or a WordPress Plugin, then it doesn&#8217;t matter if your page is a HTML document or generated through PHP, because a static copy is going to be saved in memory and the actual line of code you changed is never going to be processed. Using caching is one of a dozen ways to really speed up your site and doesn&#8217;t require hunting through a WordPress Theme.</p>
<p>Nothing against Pro Blog Design, just against that one bad tip that I&#8217;ve seen around the web. Sometimes it&#8217;s a matter of calling out tips and seeing if they hold up to what they clame.</p>
]]></content:encoded>
			<wfw:commentRss>http://dan-cole.com/a-bad-tip-for-speeding-up-your-site/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
