<?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>gHacks technology news &#187; wp-cache</title>
	<atom:link href="http://www.ghacks.net/tag/wp-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Mon, 23 Nov 2009 22:22:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why I disabled Google Analytics and WP-Cache</title>
		<link>http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/</link>
		<comments>http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 20:32:04 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[ghacks]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[loading time]]></category>
		<category><![CDATA[page load]]></category>
		<category><![CDATA[speed up site]]></category>
		<category><![CDATA[wp-cache]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/</guid>
		<description><![CDATA[I was planing to run some benchmarks on my website with various settings to find a result that would reduce loading time for my website for every visitor. I had one script and one plugin in mind that I wanted to test. The first one was the Google Analytics script which I used to be able to access site statistics on the Google Analytics website while the second was the wp-cache plugin for Wordpress which cached database requests but required that gz compression was disabled which resulted in a larger html file that was transferred to each visitor.]]></description>
			<content:encoded><![CDATA[<p>I was planing to run some benchmarks on my website with various settings to find a result that would reduce loading time for my website for every visitor. I had one script and one plugin in mind that I wanted to test. The first one was the Google Analytics script which I used to be able to access site statistics on the <a href="http://www.google.com/analytics/">Google Analytics</a> website while the second was the <a href="http://mnm.uib.es/gallir/wp-cache-2/">wp-cache</a> plugin for Wordpress which cached database requests but required that gz compression was disabled which resulted in a larger html file that was transferred to each visitor.</p>
<p>I used the free <a href="http://www.websiteoptimization.com/services/analyze/">Web Page Analyzer</a> script to test four settings and compare the results that were shown on the website. I did test the following settings:</p>
<ul>
<li>WP-Cache enabled, Google Analytics off</li>
<li>WP-Cache enabled, Google Analytics on</li>
<li>WP-Cache off, Google Analytics on</li>
<li>WP-Cache off, Google Analytics off</li>
</ul>
<p><span id="more-1848"></span>Let me give you a few instructions about the images below: </p>
<p><strong>Object Type</strong> refers to all files that belong to a certain type such as HTML or CSS files.<br />
<strong>Size</strong> is the total size of all files that belong to a certain type.<br />
<strong>Download T1</strong> the total loading time for a T1 connection (1.54 Mbps) in seconds.</p>
<p>WP-Cache enabled, Google Analytics off:</p>
<p><img src="http://www.ghacks.net/files/screens/2007/08/cacheon-analyticsoff.jpg" alt="wp-cache enabled, google analytics off" /></p>
<p>WP-Cache enabled, Google Analytics on:</p>
<p><img src="http://www.ghacks.net/files/screens/2007/08/cacheon-analyticson.jpg" alt="wp-cache enabled, google analytics on" /></p>
<p>WP-Cache disabled, Google Analytics on:</p>
<p><img src="http://www.ghacks.net/files/screens/2007/08/cacheoff-analyticson.jpg" alt="wp-cache disabled, google analytics on" /></p>
<p>WP-Cache disabled, Google Analytics off:</p>
<p><img src="http://www.ghacks.net/files/screens/2007/08/cacheoff-analyticsoff.jpg" alt="wp-cache disabled, google analytics off" /></p>
<p>The results are quite obvious. Loading time is reduced quite a bit when I turn off WP-Cache and Google Analytics. The total loading time for a T1 connection is 1.86 seconds while it is 2.25 seconds if both options are turned on. </p>
<p>Users with slower connections will see a hugh decrease in total loading time in seconds which is absolutely what I wanted to achieve. There are however two aspects that I have to consider.</p>
<p>Turning off wp-cache reduces the loading time but increases the load on the server because mysql requests are not cached anymore. This could lead to troubles for sites that face lots of visitors, e.g. if your site makes it on the digg frontpage. I would suggest to turn on wp-cache again if that happens to be able to handle the load.</p>
<p>Turning of Google Analytics does not have any negative impact on your site but webmasters with no other statistics script have the problem that they do not have access to their statistics anymore. I&#8217;m using <a href="http://awstats.sourceforge.net/">awstats</a> instead of Google Analytics on my server. If you are unsure contact your webhost and ask which script they are offering.</p>

	Tags: <a href="http://www.ghacks.net/tag/google-analytics/" title="google analytics" rel="tag">google analytics</a>, <a href="http://www.ghacks.net/tag/loading-time/" title="loading time" rel="tag">loading time</a>, <a href="http://www.ghacks.net/tag/page-load/" title="page load" rel="tag">page load</a>, <a href="http://www.ghacks.net/tag/speed-up-site/" title="speed up site" rel="tag">speed up site</a>, <a href="http://www.ghacks.net/tag/wp-cache/" title="wp-cache" rel="tag">wp-cache</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/08/11/woopra-the-best-free-analytics/" title="Woopra, the best free Analytics (August 11, 2008)">Woopra, the best free Analytics</a> (14)</li>
	<li><a href="http://www.ghacks.net/2009/03/11/statistical-information-about-ghacks-readers/" title="Statistical Information About Ghacks Readers (March 11, 2009)">Statistical Information About Ghacks Readers</a> (15)</li>
	<li><a href="http://www.ghacks.net/2008/08/28/some-interesting-ghacks-visitor-information/" title="Some Interesting Ghacks Visitor Information (August 28, 2008)">Some Interesting Ghacks Visitor Information</a> (7)</li>
	<li><a href="http://www.ghacks.net/2005/11/14/prevent-google-analytics-from-tracking-your-visit/" title="Prevent Google Analytics from tracking your visit (November 14, 2005)">Prevent Google Analytics from tracking your visit</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/" title="Load your advertisements after your content (April 6, 2009)">Load your advertisements after your content</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2007/08/08/why-i-disabled-google-analytics-and-wp-cache/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
