<?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/">
	<channel>
		<title><![CDATA[WebPagetest Forums - All Forums]]></title>
		<link>http://www.webpagetest.org/forums/</link>
		<description><![CDATA[WebPagetest Forums - http://www.webpagetest.org/forums]]></description>
		<pubDate>Sat, 04 Feb 2012 03:37:23 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[979 revision upgrade problems]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10506</link>
			<pubDate>Thu, 02 Feb 2012 14:41:03 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10506</guid>
			<description><![CDATA[Hi!<br />
<br />
Just tried to upgrade. What is the right way of upgrading the database with no data loss? <br />
<br />
I tried GenerateTable.php and them migrate.php. Unfortunately got errors:<br />
<br />
PHP Fatal error:  Uncaught exception 'Doctrine_Migration_Exception' with message '16 error(s) encountered during migration\n========================================\n Error #1 - SQLSTATE[HY000]: General error: 1 duplicate column name: timezone. Failing Query: "ALTER TABLE User ADD timezone VARCHAR(60)"\n#0 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Con&#8203;nection.php(1025): Doctrine_Connection-&gt;rethrowException(Object(PDOException), Object(Doctrine_Connection_Sqlite), 'ALTER TABLE Use...')\n#1 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Exp&#8203;ort.php(621): Doctrine_Connection-&gt;execute('ALTER TABLE Use...')\n#2 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration\\Process.php(89): Doctrine_Export-&gt;alterTable('User', Array)\n#3 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration.php(522): Doctrine_Migration_Process-&gt;processCreatedColumn(Array)\n#4 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration.php(479): Doctrine_Mi in C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration.php on line 457<hr />
Just tried it with no historical data. Same error.]]></description>
			<content:encoded><![CDATA[Hi!<br />
<br />
Just tried to upgrade. What is the right way of upgrading the database with no data loss? <br />
<br />
I tried GenerateTable.php and them migrate.php. Unfortunately got errors:<br />
<br />
PHP Fatal error:  Uncaught exception 'Doctrine_Migration_Exception' with message '16 error(s) encountered during migration\n========================================\n Error #1 - SQLSTATE[HY000]: General error: 1 duplicate column name: timezone. Failing Query: "ALTER TABLE User ADD timezone VARCHAR(60)"\n#0 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Con&#8203;nection.php(1025): Doctrine_Connection-&gt;rethrowException(Object(PDOException), Object(Doctrine_Connection_Sqlite), 'ALTER TABLE Use...')\n#1 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Exp&#8203;ort.php(621): Doctrine_Connection-&gt;execute('ALTER TABLE Use...')\n#2 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration\\Process.php(89): Doctrine_Export-&gt;alterTable('User', Array)\n#3 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration.php(522): Doctrine_Migration_Process-&gt;processCreatedColumn(Array)\n#4 C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration.php(479): Doctrine_Mi in C:\\xampp\\htdocs\\webpagetest\\wptmonitor\\lib\\vendor\\doctrine\\Doctrine\\Mig&#8203;ration.php on line 457<hr />
Just tried it with no historical data. Same error.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Chrome loads, but page won't load]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10497</link>
			<pubDate>Wed, 01 Feb 2012 02:55:52 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10497</guid>
			<description><![CDATA[Hi Patrick,<br />
<br />
When I launch a test for Chrome, the browser would pop up, but the actual page I want to test won't load. It would just show a blank page. <br />
<br />
My <span style="font-weight: bold;">wptdriver.ini</span> looks like this: <br />
[WebPagetest]<br />
url=http://ip_here<br />
location=us-west-Chrome<br />
browser=Chrome<br />
key=key_here<br />
;debug=1<br />
<br />
[Chrome]<br />
exe=""C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\chrome.exe""<br />
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --new-window --no-proxy-server --no-first-run --no-default-browser-check --enable-experimental-extension-apis'<br />
<br />
[Firefox]<br />
exe="C:\Program Files\Mozilla Firefox\firefox.exe"<br />
options='-profile "%PROFILE%" -no-remote'<br />
template=firefox<br />
<br />
<br />
<span style="font-weight: bold;">locations.ini</span><br />
<br />
[us-west]<br />
1=us-west-IE7<br />
2=us-west-IE8<br />
3=us-west-IE9<br />
4=us-west-Firefox<br />
5=us-west-Chrome<br />
default=us-west-IE7<br />
label="US West (San Francisco)"<br />
<br />
...<br />
<br />
[us-west-Chrome]<br />
browser=Chrome<br />
label="US West, Chrome"<br />
key=key_here<br />
<br />
<br />
Any ideas on what could be causing this error?]]></description>
			<content:encoded><![CDATA[Hi Patrick,<br />
<br />
When I launch a test for Chrome, the browser would pop up, but the actual page I want to test won't load. It would just show a blank page. <br />
<br />
My <span style="font-weight: bold;">wptdriver.ini</span> looks like this: <br />
[WebPagetest]<br />
url=http://ip_here<br />
location=us-west-Chrome<br />
browser=Chrome<br />
key=key_here<br />
;debug=1<br />
<br />
[Chrome]<br />
exe=""C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\chrome.exe""<br />
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --new-window --no-proxy-server --no-first-run --no-default-browser-check --enable-experimental-extension-apis'<br />
<br />
[Firefox]<br />
exe="C:\Program Files\Mozilla Firefox\firefox.exe"<br />
options='-profile "%PROFILE%" -no-remote'<br />
template=firefox<br />
<br />
<br />
<span style="font-weight: bold;">locations.ini</span><br />
<br />
[us-west]<br />
1=us-west-IE7<br />
2=us-west-IE8<br />
3=us-west-IE9<br />
4=us-west-Firefox<br />
5=us-west-Chrome<br />
default=us-west-IE7<br />
label="US West (San Francisco)"<br />
<br />
...<br />
<br />
[us-west-Chrome]<br />
browser=Chrome<br />
label="US West, Chrome"<br />
key=key_here<br />
<br />
<br />
Any ideas on what could be causing this error?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Ultimate Wordpress Caching (not for the non-programmers)]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10494</link>
			<pubDate>Tue, 31 Jan 2012 16:47:49 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10494</guid>
			<description><![CDATA[I recently started on a new site, <a href="http://php-development-guide.com/" target="_blank">php-development-guide.com</a>, and I decided to use wordpress (though i altered it to act as an article cms)... and as usual found that my shared host has terrible database performance.<br />
Well, I found the best way to curb this issue is to actually not do any database calls whatsoever. The issue with plugins like w3 total cache and others is that they exists at the plugin level, so database connections and calls are made even with their caching attempts. However, if you put your caching code at the beginning of all code execution, you can get around that.<br />
For wordpress, all pages are loaded via the main index.php (NOT the template file!). The main index.php is contained at the root of your wordpress install. For me, the index.php file only contained these lines:<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//&nbsp;comments<br /><br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'WP_USE_THEMES'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**&nbsp;Loads&nbsp;the&nbsp;WordPress&nbsp;Environment&nbsp;and&nbsp;Template&nbsp;*/<br /></span><span style="color: #007700">require(</span><span style="color: #DD0000">'./wp-blog-header.php'</span><span style="color: #007700">);&nbsp;<br /></span></code></div></div></div>
<br />
<br />
Here is the caching code I came up with:<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;comments&nbsp;from&nbsp;wordpress...<br /><br />//&nbsp;since&nbsp;this&nbsp;is&nbsp;before&nbsp;any&nbsp;wordpress&nbsp;debugging<br />//&nbsp;if&nbsp;you&nbsp;want&nbsp;error&nbsp;reporting&nbsp;for&nbsp;tests,&nbsp;uncomment&nbsp;this&nbsp;line<br />&nbsp;//error_reporting(E_ALL);<br /><br />//&nbsp;Grab&nbsp;page&nbsp;url&nbsp;to&nbsp;make&nbsp;a&nbsp;cache&nbsp;file&nbsp;name<br />&nbsp;</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">=</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'/'</span><span style="color: #007700">,</span><span style="color: #DD0000">'_'</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'REQUEST_URI'</span><span style="color: #007700">]);<br /><br />&nbsp;</span><span style="color: #FF8000">//&nbsp;use&nbsp;whitelist&nbsp;regex&nbsp;for&nbsp;extra&nbsp;security,&nbsp;otherwise&nbsp;you&nbsp;can&nbsp;do&nbsp;things&nbsp;like&nbsp;directory&nbsp;traversal&nbsp;(aka,&nbsp;.../)<br />&nbsp;</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">=</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'_.'</span><span style="color: #007700">,</span><span style="color: #DD0000">'.'</span><span style="color: #007700">,</span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'/[^&nbsp;0-9A-Za-z&#092;_]/'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">).</span><span style="color: #DD0000">'.txt'</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;requesting&nbsp;home&nbsp;page&nbsp;there&nbsp;will&nbsp;be&nbsp;no&nbsp;file&nbsp;name,&nbsp;so&nbsp;set&nbsp;one<br />&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">==</span><span style="color: #DD0000">'.txt'</span><span style="color: #007700">)<br />&nbsp;{<br />&nbsp;</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">=</span><span style="color: #DD0000">'homepage.txt'</span><span style="color: #007700">;<br />&nbsp;}<br /><br />&nbsp;</span><span style="color: #FF8000">//&nbsp;Directory&nbsp;where&nbsp;you&nbsp;cache&nbsp;files&nbsp;will&nbsp;be&nbsp;stored.&nbsp;Directory&nbsp;should&nbsp;have&nbsp;write&nbsp;permissions&nbsp;for&nbsp;everyone<br />&nbsp;</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">=</span><span style="color: #DD0000">'cache/'</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #FF8000">//&nbsp;Set&nbsp;expire&nbsp;time,&nbsp;text&nbsp;is&nbsp;based&nbsp;on&nbsp;what&nbsp;strtotime()&nbsp;php&nbsp;function&nbsp;supports<br />&nbsp;</span><span style="color: #0000BB">&#36;expireTime</span><span style="color: #007700">=</span><span style="color: #DD0000">'5&nbsp;days'</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB">&#36;cacheFileExists&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #FF8000">//&nbsp;Check&nbsp;if&nbsp;cache&nbsp;file&nbsp;already&nbsp;exists<br />&nbsp;//&nbsp;if&nbsp;so,&nbsp;get&nbsp;last&nbsp;modified&nbsp;date&nbsp;and&nbsp;compare&nbsp;it&nbsp;to&nbsp;current&nbsp;date&nbsp;(to&nbsp;see&nbsp;if&nbsp;it's&nbsp;expired)<br /></span><span style="color: #007700">if(</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">))<br />{<br /></span><span style="color: #0000BB">&#36;cacheFileExists&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">TRUE</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;cacheFileModifyDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">date&nbsp;</span><span style="color: #007700">(</span><span style="color: #DD0000">"r"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">filemtime</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strtotime</span><span style="color: #007700">(</span><span style="color: #0000BB">date</span><span style="color: #007700">(</span><span style="color: #DD0000">"r"</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">&#36;cacheExpirationDate&nbsp;</span><span style="color: #007700">=</span><span style="color: #0000BB">strtotime</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheFileModifyDate</span><span style="color: #007700">.</span><span style="color: #DD0000">"+"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;expireTime</span><span style="color: #007700">);<br />}<br />else<br />{<br /></span><span style="color: #FF8000">//&nbsp;otherwise,&nbsp;set&nbsp;all&nbsp;info&nbsp;to&nbsp;''<br /></span><span style="color: #0000BB">&#36;cacheFileModifyDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;cacheExpirationDate&nbsp;</span><span style="color: #007700">=</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;If&nbsp;cache&nbsp;file&nbsp;expired,&nbsp;or&nbsp;if&nbsp;cache&nbsp;file&nbsp;doesn't&nbsp;exist,&nbsp;generate&nbsp;a&nbsp;new&nbsp;one<br /></span><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">&#36;cacheExpirationDate&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">&#36;cacheFileExists&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">FALSE</span><span style="color: #007700">)&nbsp;{<br /><br /></span><span style="color: #FF8000">//&nbsp;Use&nbsp;output&nbsp;buffer&nbsp;to&nbsp;grab&nbsp;contents&nbsp;generated&nbsp;by&nbsp;wordpress<br /></span><span style="color: #0000BB">ob_start</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'WP_USE_THEMES'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**&nbsp;Loads&nbsp;the&nbsp;WordPress&nbsp;Environment&nbsp;and&nbsp;Template&nbsp;*/<br /></span><span style="color: #007700">require(</span><span style="color: #DD0000">'./wp-blog-header.php'</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Grab&nbsp;output&nbsp;buffer&nbsp;contents<br /></span><span style="color: #0000BB">&#36;cacheFileContents</span><span style="color: #007700">=</span><span style="color: #0000BB">ob_get_contents</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">//&nbsp;Flush&nbsp;to&nbsp;browser&nbsp;before&nbsp;recording&nbsp;cached&nbsp;contents<br /></span><span style="color: #0000BB">ob_end_flush</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">//&nbsp;Open&nbsp;file&nbsp;for&nbsp;writing<br /></span><span style="color: #0000BB">&#36;cacheFileOpen&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'w'</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Write&nbsp;cache&nbsp;contents&nbsp;to&nbsp;file&nbsp;and&nbsp;close&nbsp;file<br /></span><span style="color: #0000BB">fwrite</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheFileOpen</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;cacheFileContents</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheFileOpen</span><span style="color: #007700">);<br />}else{<br /><br /></span><span style="color: #FF8000">//&nbsp;If&nbsp;file&nbsp;is&nbsp;cached&nbsp;and&nbsp;not&nbsp;expired,&nbsp;grab&nbsp;and&nbsp;echo&nbsp;contents<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">);<br />}<br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
This drastically cut down on the time to first byte and brought me from an F to an A. When the cache is on, the only thing php has to do is check if the cache file exists and is not expired, if it passes, it loads and outputs text straight from the cache file to screen. No database calls or anything is done and so backend processing is almost non-existant.<br />
<br />
The Results<br />
No Cache, TTFB= 3.074 seconds:<br />
<a href="http://www.webpagetest.org/result/120131_4D_32BRA/1/details/" target="_blank">http://www.webpagetest.org/result/120131...1/details/</a><br />
<br />
With Cache, TTFB= 0.414 seconds:<br />
<a href="http://www.webpagetest.org/result/120131_A7_32BRK/1/details/" target="_blank">http://www.webpagetest.org/result/120131...1/details/</a><br />
<br />
<br />
Some things to note:<br />
First I designed this for my site, where I turned wordpress isn't an article cms, and did so with no user comments. So for me, as it is now, it's fine. However, if you have users placing comments via wordpresses internal comment system (as opposed to something like disqus), you will need to program something to invalidate the cache (like delete the cache file) if a new comment is made. This should be easy enough, you just have to edit the wp-comments-post.php file, grab and generate the current url and then delete the cache file. Or, the other option is to deal with the comments not showing by just setting a lower cache time (like 3 hours). But it may seem odd to the user if the comments don't show right away, so i'd still recommend invalidating the cache.<br />
Secondly, since this is editing the core wordpress files (as it has to), it will get overridden when a wordpress update is done. But these additions are so generic you can easily re-apply them with each update.]]></description>
			<content:encoded><![CDATA[I recently started on a new site, <a href="http://php-development-guide.com/" target="_blank">php-development-guide.com</a>, and I decided to use wordpress (though i altered it to act as an article cms)... and as usual found that my shared host has terrible database performance.<br />
Well, I found the best way to curb this issue is to actually not do any database calls whatsoever. The issue with plugins like w3 total cache and others is that they exists at the plugin level, so database connections and calls are made even with their caching attempts. However, if you put your caching code at the beginning of all code execution, you can get around that.<br />
For wordpress, all pages are loaded via the main index.php (NOT the template file!). The main index.php is contained at the root of your wordpress install. For me, the index.php file only contained these lines:<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">//&nbsp;comments<br /><br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'WP_USE_THEMES'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**&nbsp;Loads&nbsp;the&nbsp;WordPress&nbsp;Environment&nbsp;and&nbsp;Template&nbsp;*/<br /></span><span style="color: #007700">require(</span><span style="color: #DD0000">'./wp-blog-header.php'</span><span style="color: #007700">);&nbsp;<br /></span></code></div></div></div>
<br />
<br />
Here is the caching code I came up with:<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;comments&nbsp;from&nbsp;wordpress...<br /><br />//&nbsp;since&nbsp;this&nbsp;is&nbsp;before&nbsp;any&nbsp;wordpress&nbsp;debugging<br />//&nbsp;if&nbsp;you&nbsp;want&nbsp;error&nbsp;reporting&nbsp;for&nbsp;tests,&nbsp;uncomment&nbsp;this&nbsp;line<br />&nbsp;//error_reporting(E_ALL);<br /><br />//&nbsp;Grab&nbsp;page&nbsp;url&nbsp;to&nbsp;make&nbsp;a&nbsp;cache&nbsp;file&nbsp;name<br />&nbsp;</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">=</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'/'</span><span style="color: #007700">,</span><span style="color: #DD0000">'_'</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'REQUEST_URI'</span><span style="color: #007700">]);<br /><br />&nbsp;</span><span style="color: #FF8000">//&nbsp;use&nbsp;whitelist&nbsp;regex&nbsp;for&nbsp;extra&nbsp;security,&nbsp;otherwise&nbsp;you&nbsp;can&nbsp;do&nbsp;things&nbsp;like&nbsp;directory&nbsp;traversal&nbsp;(aka,&nbsp;.../)<br />&nbsp;</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">=</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'_.'</span><span style="color: #007700">,</span><span style="color: #DD0000">'.'</span><span style="color: #007700">,</span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'/[^&nbsp;0-9A-Za-z&#092;_]/'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">,</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">).</span><span style="color: #DD0000">'.txt'</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;requesting&nbsp;home&nbsp;page&nbsp;there&nbsp;will&nbsp;be&nbsp;no&nbsp;file&nbsp;name,&nbsp;so&nbsp;set&nbsp;one<br />&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">==</span><span style="color: #DD0000">'.txt'</span><span style="color: #007700">)<br />&nbsp;{<br />&nbsp;</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">=</span><span style="color: #DD0000">'homepage.txt'</span><span style="color: #007700">;<br />&nbsp;}<br /><br />&nbsp;</span><span style="color: #FF8000">//&nbsp;Directory&nbsp;where&nbsp;you&nbsp;cache&nbsp;files&nbsp;will&nbsp;be&nbsp;stored.&nbsp;Directory&nbsp;should&nbsp;have&nbsp;write&nbsp;permissions&nbsp;for&nbsp;everyone<br />&nbsp;</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">=</span><span style="color: #DD0000">'cache/'</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #FF8000">//&nbsp;Set&nbsp;expire&nbsp;time,&nbsp;text&nbsp;is&nbsp;based&nbsp;on&nbsp;what&nbsp;strtotime()&nbsp;php&nbsp;function&nbsp;supports<br />&nbsp;</span><span style="color: #0000BB">&#36;expireTime</span><span style="color: #007700">=</span><span style="color: #DD0000">'5&nbsp;days'</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB">&#36;cacheFileExists&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #FF8000">//&nbsp;Check&nbsp;if&nbsp;cache&nbsp;file&nbsp;already&nbsp;exists<br />&nbsp;//&nbsp;if&nbsp;so,&nbsp;get&nbsp;last&nbsp;modified&nbsp;date&nbsp;and&nbsp;compare&nbsp;it&nbsp;to&nbsp;current&nbsp;date&nbsp;(to&nbsp;see&nbsp;if&nbsp;it's&nbsp;expired)<br /></span><span style="color: #007700">if(</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">))<br />{<br /></span><span style="color: #0000BB">&#36;cacheFileExists&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">TRUE</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;cacheFileModifyDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">date&nbsp;</span><span style="color: #007700">(</span><span style="color: #DD0000">"r"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">filemtime</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">strtotime</span><span style="color: #007700">(</span><span style="color: #0000BB">date</span><span style="color: #007700">(</span><span style="color: #DD0000">"r"</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">&#36;cacheExpirationDate&nbsp;</span><span style="color: #007700">=</span><span style="color: #0000BB">strtotime</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheFileModifyDate</span><span style="color: #007700">.</span><span style="color: #DD0000">"+"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;expireTime</span><span style="color: #007700">);<br />}<br />else<br />{<br /></span><span style="color: #FF8000">//&nbsp;otherwise,&nbsp;set&nbsp;all&nbsp;info&nbsp;to&nbsp;''<br /></span><span style="color: #0000BB">&#36;cacheFileModifyDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;cacheExpirationDate&nbsp;</span><span style="color: #007700">=</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;If&nbsp;cache&nbsp;file&nbsp;expired,&nbsp;or&nbsp;if&nbsp;cache&nbsp;file&nbsp;doesn't&nbsp;exist,&nbsp;generate&nbsp;a&nbsp;new&nbsp;one<br /></span><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;currentCacheDate&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">&#36;cacheExpirationDate&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">&#36;cacheFileExists&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">FALSE</span><span style="color: #007700">)&nbsp;{<br /><br /></span><span style="color: #FF8000">//&nbsp;Use&nbsp;output&nbsp;buffer&nbsp;to&nbsp;grab&nbsp;contents&nbsp;generated&nbsp;by&nbsp;wordpress<br /></span><span style="color: #0000BB">ob_start</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'WP_USE_THEMES'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**&nbsp;Loads&nbsp;the&nbsp;WordPress&nbsp;Environment&nbsp;and&nbsp;Template&nbsp;*/<br /></span><span style="color: #007700">require(</span><span style="color: #DD0000">'./wp-blog-header.php'</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Grab&nbsp;output&nbsp;buffer&nbsp;contents<br /></span><span style="color: #0000BB">&#36;cacheFileContents</span><span style="color: #007700">=</span><span style="color: #0000BB">ob_get_contents</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">//&nbsp;Flush&nbsp;to&nbsp;browser&nbsp;before&nbsp;recording&nbsp;cached&nbsp;contents<br /></span><span style="color: #0000BB">ob_end_flush</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">//&nbsp;Open&nbsp;file&nbsp;for&nbsp;writing<br /></span><span style="color: #0000BB">&#36;cacheFileOpen&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'w'</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Write&nbsp;cache&nbsp;contents&nbsp;to&nbsp;file&nbsp;and&nbsp;close&nbsp;file<br /></span><span style="color: #0000BB">fwrite</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheFileOpen</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;cacheFileContents</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheFileOpen</span><span style="color: #007700">);<br />}else{<br /><br /></span><span style="color: #FF8000">//&nbsp;If&nbsp;file&nbsp;is&nbsp;cached&nbsp;and&nbsp;not&nbsp;expired,&nbsp;grab&nbsp;and&nbsp;echo&nbsp;contents<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">file_get_contents</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;cacheDirectory</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;getPageName</span><span style="color: #007700">);<br />}<br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
This drastically cut down on the time to first byte and brought me from an F to an A. When the cache is on, the only thing php has to do is check if the cache file exists and is not expired, if it passes, it loads and outputs text straight from the cache file to screen. No database calls or anything is done and so backend processing is almost non-existant.<br />
<br />
The Results<br />
No Cache, TTFB= 3.074 seconds:<br />
<a href="http://www.webpagetest.org/result/120131_4D_32BRA/1/details/" target="_blank">http://www.webpagetest.org/result/120131...1/details/</a><br />
<br />
With Cache, TTFB= 0.414 seconds:<br />
<a href="http://www.webpagetest.org/result/120131_A7_32BRK/1/details/" target="_blank">http://www.webpagetest.org/result/120131...1/details/</a><br />
<br />
<br />
Some things to note:<br />
First I designed this for my site, where I turned wordpress isn't an article cms, and did so with no user comments. So for me, as it is now, it's fine. However, if you have users placing comments via wordpresses internal comment system (as opposed to something like disqus), you will need to program something to invalidate the cache (like delete the cache file) if a new comment is made. This should be easy enough, you just have to edit the wp-comments-post.php file, grab and generate the current url and then delete the cache file. Or, the other option is to deal with the comments not showing by just setting a lower cache time (like 3 hours). But it may seem odd to the user if the comments don't show right away, so i'd still recommend invalidating the cache.<br />
Secondly, since this is editing the core wordpress files (as it has to), it will get overridden when a wordpress update is done. But these additions are so generic you can easily re-apply them with each update.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Where to go from here...]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10492</link>
			<pubDate>Tue, 31 Jan 2012 15:03:32 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10492</guid>
			<description><![CDATA[I've got several low usage Joomla sites that are running on what's suppose to be a decent VPS package (Quad Intel&reg; Xeon&reg; CPU E5620 @ 2.40GHz / 2GB ram)<br />
<br />
During the day this is a typical test result: <a href="http://www.webpagetest.org/result/120131_4R_c3d5f8601b15c31bd0130077e57bd593/" target="_blank">http://www.webpagetest.org/result/120131...7e57bd593/</a><br />
<br />
I've setup caching and optimized as best I know how and when I monitor the loads during a test with .top there's nothing that jumps out (i.e. low memory usage, low cpu load averages and I/O .wa have only short peaks in the 5% range). <br />
<br />
From this point, how do I figure out whether the slow ttfb is caused by the VPS or the node/network it's on. The one thing that points me to the node is that ttfb improves dramatically (to under a second) during off hours but I'd like to be sure that I'm not missing something.<br />
<br />
Thanks for any help.]]></description>
			<content:encoded><![CDATA[I've got several low usage Joomla sites that are running on what's suppose to be a decent VPS package (Quad Intel&reg; Xeon&reg; CPU E5620 @ 2.40GHz / 2GB ram)<br />
<br />
During the day this is a typical test result: <a href="http://www.webpagetest.org/result/120131_4R_c3d5f8601b15c31bd0130077e57bd593/" target="_blank">http://www.webpagetest.org/result/120131...7e57bd593/</a><br />
<br />
I've setup caching and optimized as best I know how and when I monitor the loads during a test with .top there's nothing that jumps out (i.e. low memory usage, low cpu load averages and I/O .wa have only short peaks in the 5% range). <br />
<br />
From this point, how do I figure out whether the slow ttfb is caused by the VPS or the node/network it's on. The one thing that points me to the node is that ttfb improves dramatically (to under a second) during off hours but I'd like to be sure that I'm not missing something.<br />
<br />
Thanks for any help.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Download Error]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10490</link>
			<pubDate>Tue, 31 Jan 2012 13:56:04 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10490</guid>
			<description><![CDATA[Hello!<br />
<br />
I am amazed by this cool testing tool and I wanted to download it for using it locally.<br />
<br />
I am downloading from this URL:<br />
<a href="http://webpagetest.googlecode.com/files/webpagetest_2.5.zip" target="_blank">http://webpagetest.googlecode.com/files/...st_2.5.zip</a><br />
The download starts normally but slows down at the end and results in an error message saying that the source file can't be read from server. I tried both with IE and FF (just to be sure it was a real server side/network issue).<br />
<br />
I tried even on another machine (inside of my same network) and it is also getting the same error. Does it depends on the network or is there an error on the server or zip file? In this second case, can someone upload the zip in another location?<br />
<br />
Thanks a lot!]]></description>
			<content:encoded><![CDATA[Hello!<br />
<br />
I am amazed by this cool testing tool and I wanted to download it for using it locally.<br />
<br />
I am downloading from this URL:<br />
<a href="http://webpagetest.googlecode.com/files/webpagetest_2.5.zip" target="_blank">http://webpagetest.googlecode.com/files/...st_2.5.zip</a><br />
The download starts normally but slows down at the end and results in an error message saying that the source file can't be read from server. I tried both with IE and FF (just to be sure it was a real server side/network issue).<br />
<br />
I tried even on another machine (inside of my same network) and it is also getting the same error. Does it depends on the network or is there an error on the server or zip file? In this second case, can someone upload the zip in another location?<br />
<br />
Thanks a lot!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[First Byte Time - MediaTemple]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10488</link>
			<pubDate>Tue, 31 Jan 2012 10:32:01 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10488</guid>
			<description><![CDATA[Hi I have a (dv) Dedicated Virtual Self Managed server with Media Temple. I'm hosting a site with the URL: <a href="http://www.mermaidecoresort.com" target="_blank">http://www.mermaidecoresort.com</a> - This website is not even using a MySQL Database yet. It will soon, but the First Time Byte is a whopping 42s. I contacted media temple and they told me that I need to log on to my Linux Apache Server via SSH and optimize the apache conf file and optimize it to fix this issue. Does anyone have any experience with this. I was not able to do it. I would really really appreciate it if someone could shed some light.<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">A conversation between me and Media Temple</span></span><br />
<br />
<br />
Thank you for your inquiry.<br />
<br />
I have reviewed your (dv) Dedicated-Virtual Server and ran a MySQL performance report. The results show a need to modify the settings in the 'etc/my.cnf' file to better handle requests and memory allocation. Also, notice the need to use phpMyAdmin and run the repair tables tool. I am including a screen shot of the report below: <br />
<br />
<a href="https://skitch.com/roneill/g56k9/terminal-ssh-81x52" target="_blank">https://skitch.com/roneill/g56k9/terminal-ssh-81x52</a><br />
<br />
<span style="font-weight: bold;">I am including some (mt) KnowledgeBase articles in regards to this for reference below: </span><br />
<span style="font-weight: bold;"><br />
Using MySQL Report on a (dv) Dedicated-Virtual Server</span><br />
<a href="http://kb.mediatemple.net/questions/1558" target="_blank">http://kb.mediatemple.net/questions/1558</a><br />
<br />
<span style="font-weight: bold;">Using MySQLTuner</span><br />
<a href="http://kb.mediatemple.net/questions/70" target="_blank">http://kb.mediatemple.net/questions/70</a><br />
<span style="font-weight: bold;"><br />
Basic MySQL performance tuning (MySQLd)</span><br />
<a href="http://kb.mediatemple.net/questions/258" target="_blank">http://kb.mediatemple.net/questions/258</a><br />
<br />
<span style="font-weight: bold;">(dv) Increasing Max MySQL Connections</span><br />
<a href="http://kb.mediatemple.net/questions/711" target="_blank">http://kb.mediatemple.net/questions/711</a><br />
<br />
<span style="font-weight: bold;">Managing a MySQL database with phpMyAdmin</span><br />
<a href="http://kb.mediatemple.net/questions/426/Managing+a+MySQL+database+with+phpMyAdm" target="_blank">http://kb.mediatemple.net/questions/426/...h+phpMyAdm</a> in#dv_40<br />
<br />
<span style="font-weight: bold;">Optimizing your (dv) server</span><br />
<a href="http://kb.mediatemple.net/questions/771" target="_blank">http://kb.mediatemple.net/questions/771</a><br />
<br />
<span style="font-weight: bold;">(dv) HOWTO: Basic Apache performance tuning (httpd)</span><br />
<a href="http://kb.mediatemple.net/questions/246" target="_blank">http://kb.mediatemple.net/questions/246</a><br />
<br />
<a href="http://wiki.mediatemple.net/w/%28dv%29_4.0_-_Making_It_Better" target="_blank">http://wiki.mediatemple.net/w/%28dv%29_4..._It_Better</a><br />
<br />
<span style="font-weight: bold;">(dv) 4.0 - Making It Better :: Installing Plesk Health Monitor</span><br />
<a href="http://wiki.mediatemple.net/w/%28dv%29_4.0_-_Making_It_Better_::_Installing_Ple" target="_blank">http://wiki.mediatemple.net/w/%28dv%29_4...alling_Ple</a> sk_Health_Monitor<br />
<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">MY REPLY:</span></span><br />
<br />
Thanks for the prompt reply. I have one last question, this specific website is not relying on the MySQL server we are just hosting html pages for the time being yet it's slow. Can you please give me a link to any tutorial so I can specifically fix my errors with the First Byte Time.<br />
<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">Their Final REPLY </span></span><br />
<br />
Thank you for your reply.<br />
<br />
I understand where you are coming from in regards to, mermaidecoresort.com, being a static site. However, the MySQL resources are directly tied into the Apache resources. So your static HTML site is suffering do to the overall performance of your (dv) Dedicated-Virtual Server. I would focus on the 'etc/my.cnf' file, repairing the tables in phpMyAdmin, and adjusting the prefork settings in Apache. This should resolve the issue. <br />
<br />
Please keep in mind that the (dv) Dedicated-Virtual Server is a self-managed server, and assistance with its configuration and maintenance is outside of the (mt) Media Temple scope of support. All suggestions in this message were provided as a courtesy.]]></description>
			<content:encoded><![CDATA[Hi I have a (dv) Dedicated Virtual Self Managed server with Media Temple. I'm hosting a site with the URL: <a href="http://www.mermaidecoresort.com" target="_blank">http://www.mermaidecoresort.com</a> - This website is not even using a MySQL Database yet. It will soon, but the First Time Byte is a whopping 42s. I contacted media temple and they told me that I need to log on to my Linux Apache Server via SSH and optimize the apache conf file and optimize it to fix this issue. Does anyone have any experience with this. I was not able to do it. I would really really appreciate it if someone could shed some light.<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">A conversation between me and Media Temple</span></span><br />
<br />
<br />
Thank you for your inquiry.<br />
<br />
I have reviewed your (dv) Dedicated-Virtual Server and ran a MySQL performance report. The results show a need to modify the settings in the 'etc/my.cnf' file to better handle requests and memory allocation. Also, notice the need to use phpMyAdmin and run the repair tables tool. I am including a screen shot of the report below: <br />
<br />
<a href="https://skitch.com/roneill/g56k9/terminal-ssh-81x52" target="_blank">https://skitch.com/roneill/g56k9/terminal-ssh-81x52</a><br />
<br />
<span style="font-weight: bold;">I am including some (mt) KnowledgeBase articles in regards to this for reference below: </span><br />
<span style="font-weight: bold;"><br />
Using MySQL Report on a (dv) Dedicated-Virtual Server</span><br />
<a href="http://kb.mediatemple.net/questions/1558" target="_blank">http://kb.mediatemple.net/questions/1558</a><br />
<br />
<span style="font-weight: bold;">Using MySQLTuner</span><br />
<a href="http://kb.mediatemple.net/questions/70" target="_blank">http://kb.mediatemple.net/questions/70</a><br />
<span style="font-weight: bold;"><br />
Basic MySQL performance tuning (MySQLd)</span><br />
<a href="http://kb.mediatemple.net/questions/258" target="_blank">http://kb.mediatemple.net/questions/258</a><br />
<br />
<span style="font-weight: bold;">(dv) Increasing Max MySQL Connections</span><br />
<a href="http://kb.mediatemple.net/questions/711" target="_blank">http://kb.mediatemple.net/questions/711</a><br />
<br />
<span style="font-weight: bold;">Managing a MySQL database with phpMyAdmin</span><br />
<a href="http://kb.mediatemple.net/questions/426/Managing+a+MySQL+database+with+phpMyAdm" target="_blank">http://kb.mediatemple.net/questions/426/...h+phpMyAdm</a> in#dv_40<br />
<br />
<span style="font-weight: bold;">Optimizing your (dv) server</span><br />
<a href="http://kb.mediatemple.net/questions/771" target="_blank">http://kb.mediatemple.net/questions/771</a><br />
<br />
<span style="font-weight: bold;">(dv) HOWTO: Basic Apache performance tuning (httpd)</span><br />
<a href="http://kb.mediatemple.net/questions/246" target="_blank">http://kb.mediatemple.net/questions/246</a><br />
<br />
<a href="http://wiki.mediatemple.net/w/%28dv%29_4.0_-_Making_It_Better" target="_blank">http://wiki.mediatemple.net/w/%28dv%29_4..._It_Better</a><br />
<br />
<span style="font-weight: bold;">(dv) 4.0 - Making It Better :: Installing Plesk Health Monitor</span><br />
<a href="http://wiki.mediatemple.net/w/%28dv%29_4.0_-_Making_It_Better_::_Installing_Ple" target="_blank">http://wiki.mediatemple.net/w/%28dv%29_4...alling_Ple</a> sk_Health_Monitor<br />
<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">MY REPLY:</span></span><br />
<br />
Thanks for the prompt reply. I have one last question, this specific website is not relying on the MySQL server we are just hosting html pages for the time being yet it's slow. Can you please give me a link to any tutorial so I can specifically fix my errors with the First Byte Time.<br />
<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">Their Final REPLY </span></span><br />
<br />
Thank you for your reply.<br />
<br />
I understand where you are coming from in regards to, mermaidecoresort.com, being a static site. However, the MySQL resources are directly tied into the Apache resources. So your static HTML site is suffering do to the overall performance of your (dv) Dedicated-Virtual Server. I would focus on the 'etc/my.cnf' file, repairing the tables in phpMyAdmin, and adjusting the prefork settings in Apache. This should resolve the issue. <br />
<br />
Please keep in mind that the (dv) Dedicated-Virtual Server is a self-managed server, and assistance with its configuration and maintenance is outside of the (mt) Media Temple scope of support. All suggestions in this message were provided as a courtesy.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[parallel css]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10487</link>
			<pubDate>Mon, 30 Jan 2012 17:06:08 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10487</guid>
			<description><![CDATA[I've noticed 4 css files next to each other taking around 0.5 - 1 second to load. I was about to amalgamate them into 1 file when I noticed they were running in parallel. If I did amalgamate them then it would actually take longer. <br />
<br />
So perhaps its best not to put all css in one file but to split them into many files? Can someone confirm this?]]></description>
			<content:encoded><![CDATA[I've noticed 4 css files next to each other taking around 0.5 - 1 second to load. I was about to amalgamate them into 1 file when I noticed they were running in parallel. If I did amalgamate them then it would actually take longer. <br />
<br />
So perhaps its best not to put all css in one file but to split them into many files? Can someone confirm this?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Chrome 16, Firefox 9 return blank page]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10486</link>
			<pubDate>Mon, 30 Jan 2012 09:15:19 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10486</guid>
			<description><![CDATA[version:<br />
WebPageTest: 2.5<br />
Chrome: 16.0.912.77<br />
Firefox: 9.0.1<br />
<br />
I found a thread, <a href="http://www.webpagetest.org/forums/showthread.php?tid=10187," target="_blank">http://www.webpagetest.org/forums/showth...tid=10187,</a> it means the bug has been fixed in the SVN trunk?]]></description>
			<content:encoded><![CDATA[version:<br />
WebPageTest: 2.5<br />
Chrome: 16.0.912.77<br />
Firefox: 9.0.1<br />
<br />
I found a thread, <a href="http://www.webpagetest.org/forums/showthread.php?tid=10187," target="_blank">http://www.webpagetest.org/forums/showth...tid=10187,</a> it means the bug has been fixed in the SVN trunk?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Google Jquery.min.js takes 3secs]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10478</link>
			<pubDate>Sat, 28 Jan 2012 10:21:30 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10478</guid>
			<description><![CDATA[I've noticed that it takes 3000ms to load jquery.min.js from google on the repeat view and half of that time is spent in SSL negotiations. Can this be improved?<br />
<br />
<a href="http://www.webpagetest.org/result/120128_PJ_3197D/" target="_blank">http://www.webpagetest.org/result/120128_PJ_3197D/</a>]]></description>
			<content:encoded><![CDATA[I've noticed that it takes 3000ms to load jquery.min.js from google on the repeat view and half of that time is spent in SSL negotiations. Can this be improved?<br />
<br />
<a href="http://www.webpagetest.org/result/120128_PJ_3197D/" target="_blank">http://www.webpagetest.org/result/120128_PJ_3197D/</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Page speed]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10477</link>
			<pubDate>Fri, 27 Jan 2012 23:54:33 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10477</guid>
			<description><![CDATA[Our page speed is 1.12 getting 80/100. Is this 1.12 seconds? Our page takes 3.6secs to first render and load time 6 secs which I presume is 2.4 secs not 1.12.<br />
<br />
<a href="http://www.webpagetest.org/result/120127_GF_31672/" target="_blank">http://www.webpagetest.org/result/120127_GF_31672/</a><br />
<br />
Also I notice that many items overlap so it seems that there isn't any point in reducing some of these items. The initial first byte is very slow at 2.4 - 3 seconds which I think is the web server but otherwise can someone have a look at the result and just give a general opinion.]]></description>
			<content:encoded><![CDATA[Our page speed is 1.12 getting 80/100. Is this 1.12 seconds? Our page takes 3.6secs to first render and load time 6 secs which I presume is 2.4 secs not 1.12.<br />
<br />
<a href="http://www.webpagetest.org/result/120127_GF_31672/" target="_blank">http://www.webpagetest.org/result/120127_GF_31672/</a><br />
<br />
Also I notice that many items overlap so it seems that there isn't any point in reducing some of these items. The initial first byte is very slow at 2.4 - 3 seconds which I think is the web server but otherwise can someone have a look at the result and just give a general opinion.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Performance Results (Median Run)]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10475</link>
			<pubDate>Fri, 27 Jan 2012 15:01:44 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10475</guid>
			<description><![CDATA[I have triggered 10 test runs for a given page. Then I see in summary section:<br />
<br />
First View (<span style="font-weight: bold;">Run 5</span>)     - Load Time = N<br />
Repeat View (<span style="font-weight: bold;">Run 2</span>) - Load Time = N<br />
<br />
Are these results (5 and 2) the overall average ?]]></description>
			<content:encoded><![CDATA[I have triggered 10 test runs for a given page. Then I see in summary section:<br />
<br />
First View (<span style="font-weight: bold;">Run 5</span>)     - Load Time = N<br />
Repeat View (<span style="font-weight: bold;">Run 2</span>) - Load Time = N<br />
<br />
Are these results (5 and 2) the overall average ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How can I improve the load times?]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10474</link>
			<pubDate>Fri, 27 Jan 2012 14:56:19 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10474</guid>
			<description><![CDATA[Hello guys,<br />
<br />
This seems like a really good tool and I have optimized quite a few things since yesterday. One thing however got me worried is the load time from different locations.<br />
<br />
Here is the test result from a US test server -&gt; <a href="http://www.webpagetest.org/result/120127_1P_31118/" target="_blank">http://www.webpagetest.org/result/120127_1P_31118/</a><br />
<br />
Here is one from a Singapore server -&gt; <a href="http://www.webpagetest.org/result/120127_NR_31100/" target="_blank">http://www.webpagetest.org/result/120127_NR_31100/</a><br />
<br />
The primary userbase is in the Indian subcontinent so am not sure that the first result is anything to be happy about. In the second result, the repeat view actually takes much longer <img src="images/smilies/confused.gif" style="vertical-align: middle;" border="0" alt="Confused" title="Confused" /><br />
<br />
Can you guys tell me what all can be done to improve the performance.]]></description>
			<content:encoded><![CDATA[Hello guys,<br />
<br />
This seems like a really good tool and I have optimized quite a few things since yesterday. One thing however got me worried is the load time from different locations.<br />
<br />
Here is the test result from a US test server -&gt; <a href="http://www.webpagetest.org/result/120127_1P_31118/" target="_blank">http://www.webpagetest.org/result/120127_1P_31118/</a><br />
<br />
Here is one from a Singapore server -&gt; <a href="http://www.webpagetest.org/result/120127_NR_31100/" target="_blank">http://www.webpagetest.org/result/120127_NR_31100/</a><br />
<br />
The primary userbase is in the Indian subcontinent so am not sure that the first result is anything to be happy about. In the second result, the repeat view actually takes much longer <img src="images/smilies/confused.gif" style="vertical-align: middle;" border="0" alt="Confused" title="Confused" /><br />
<br />
Can you guys tell me what all can be done to improve the performance.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Expire header on Wordpress php files]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10472</link>
			<pubDate>Thu, 26 Jan 2012 06:46:36 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10472</guid>
			<description><![CDATA[I started looking into cache control headers and one of the thing that stood out is the fact that index.php on the root web folder is not cacheable due to the lack of cache control headers. <br />
<br />
When I opened up index.php, all I got is this: <br />
<blockquote><cite>Quote:</cite>&lt;?php<br />
/**<br />
 * Front to the WordPress application. This file doesn't do anything, but loads<br />
 * wp-blog-header.php which does and tells WordPress to load the theme.<br />
 *<br />
 * @package WordPress<br />
 */<br />
<br />
/**<br />
 * Tells WordPress to load the WordPress theme and output it.<br />
 *<br />
 * @var bool<br />
 */<br />
define('WP_USE_THEMES', true);<br />
<br />
/** Loads the WordPress Environment and Template */<br />
require('./wp-blog-header.php');<br />
?&gt;</blockquote>
<br />
Seems like that file isn't going to change for a very long time, so it's probably safe to put a long expire time for it. However, now that I think about it, doesn't all the php files on Wordpress is practically remains the same (only the database content changes from time to time)? Anyway I'd like to hear your opinion on the best way to add a cache header on the index.php and perhaps the other php files as well. <br />
<br />
Here is the content of the current .htaccess file on cache control: <br />
<blockquote><cite>Quote:</cite>&lt;IfModule mod_expires.c&gt;<br />
ExpiresActive On<br />
ExpiresByType image/png "access plus 5184000 seconds"<br />
ExpiresByType image/jpeg "access plus 5184000 seconds"<br />
ExpiresByType image/gif "access plus 5184000 seconds"<br />
ExpiresByType text/css "access plus 5184000 seconds"<br />
ExpiresByType application/x-javascript "access plus 5184000 seconds"<br />
&lt;/IfModule&gt;</blockquote>
<br />
Thanks]]></description>
			<content:encoded><![CDATA[I started looking into cache control headers and one of the thing that stood out is the fact that index.php on the root web folder is not cacheable due to the lack of cache control headers. <br />
<br />
When I opened up index.php, all I got is this: <br />
<blockquote><cite>Quote:</cite>&lt;?php<br />
/**<br />
 * Front to the WordPress application. This file doesn't do anything, but loads<br />
 * wp-blog-header.php which does and tells WordPress to load the theme.<br />
 *<br />
 * @package WordPress<br />
 */<br />
<br />
/**<br />
 * Tells WordPress to load the WordPress theme and output it.<br />
 *<br />
 * @var bool<br />
 */<br />
define('WP_USE_THEMES', true);<br />
<br />
/** Loads the WordPress Environment and Template */<br />
require('./wp-blog-header.php');<br />
?&gt;</blockquote>
<br />
Seems like that file isn't going to change for a very long time, so it's probably safe to put a long expire time for it. However, now that I think about it, doesn't all the php files on Wordpress is practically remains the same (only the database content changes from time to time)? Anyway I'd like to hear your opinion on the best way to add a cache header on the index.php and perhaps the other php files as well. <br />
<br />
Here is the content of the current .htaccess file on cache control: <br />
<blockquote><cite>Quote:</cite>&lt;IfModule mod_expires.c&gt;<br />
ExpiresActive On<br />
ExpiresByType image/png "access plus 5184000 seconds"<br />
ExpiresByType image/jpeg "access plus 5184000 seconds"<br />
ExpiresByType image/gif "access plus 5184000 seconds"<br />
ExpiresByType text/css "access plus 5184000 seconds"<br />
ExpiresByType application/x-javascript "access plus 5184000 seconds"<br />
&lt;/IfModule&gt;</blockquote>
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Slow Time to First Byte: WP Super Cache & W3TC ]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10471</link>
			<pubDate>Thu, 26 Jan 2012 06:32:49 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10471</guid>
			<description><![CDATA[I've been reading a lot of the posts here and it seems that a lot of people are having issues with First time bytes, even though they're using caching plug-ins like the W3TC. I'm not an expert in this matter, but with my site I haven't had any luck getting an A or B score with W3TC, no matter how right I've configured the W3TC to be. I just don't know why but W3TC didn't want to cache the database on my site. I even used APC cache on W3TC and that didn't seem to help (I'm on a dedicated server).<br />
<br />
Surprisingly when I tried WP Super Cache everything was resolved automatically and TTFB is consistently always on A, with the occassional drops but very rare. <br />
<br />
I tried to ask Frederick Townes about this but I understand that he's very busy and doesn't have time to respond to every one inquiry. The thing is I still want to use W3TC as it has better features built-in compared to WP Super Cache. But every time I go back to W3TC then TTFB would jump back up again, so I'm definitely on WP Super Cache now.<br />
<br />
This is just a post from one webmaster to another. You can try WP Super Cache and see if it works for you. If not you can always go back to using W3TC. On my site I had all the optimization but was always stuck with TTFB times, turns out that Super Cache is the solution. <br />
<br />
Disclaimer: no relation with W3TC or WP Super Cache whatsoever, just trying to throw an idea for those of you having problems. <br />
<br />
PS: Here is a recent test that I did: <a href="http://www.webpagetest.org/result/120126_0M_30B19/" target="_blank">http://www.webpagetest.org/result/120126_0M_30B19/</a>]]></description>
			<content:encoded><![CDATA[I've been reading a lot of the posts here and it seems that a lot of people are having issues with First time bytes, even though they're using caching plug-ins like the W3TC. I'm not an expert in this matter, but with my site I haven't had any luck getting an A or B score with W3TC, no matter how right I've configured the W3TC to be. I just don't know why but W3TC didn't want to cache the database on my site. I even used APC cache on W3TC and that didn't seem to help (I'm on a dedicated server).<br />
<br />
Surprisingly when I tried WP Super Cache everything was resolved automatically and TTFB is consistently always on A, with the occassional drops but very rare. <br />
<br />
I tried to ask Frederick Townes about this but I understand that he's very busy and doesn't have time to respond to every one inquiry. The thing is I still want to use W3TC as it has better features built-in compared to WP Super Cache. But every time I go back to W3TC then TTFB would jump back up again, so I'm definitely on WP Super Cache now.<br />
<br />
This is just a post from one webmaster to another. You can try WP Super Cache and see if it works for you. If not you can always go back to using W3TC. On my site I had all the optimization but was always stuck with TTFB times, turns out that Super Cache is the solution. <br />
<br />
Disclaimer: no relation with W3TC or WP Super Cache whatsoever, just trying to throw an idea for those of you having problems. <br />
<br />
PS: Here is a recent test that I did: <a href="http://www.webpagetest.org/result/120126_0M_30B19/" target="_blank">http://www.webpagetest.org/result/120126_0M_30B19/</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Location list is empty]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10470</link>
			<pubDate>Thu, 26 Jan 2012 00:56:40 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10470</guid>
			<description><![CDATA[I followed the instructions for installing a private instance of WebPageTest.  When I go to my localhost in a browser from the machine I have it installed on I get the WebPageTest screen, but the location and browser drop down lists are empty<br />
<br />
Here is my locations.ini<br />
[locations]<br />
1=CORBETTXPIE7<br />
default=CORBETTXPIE7<br />
<br />
;<br />
; These are the top-level locations that are listed in the location dropdown<br />
; Each one points to one or more browser configurations<br />
;<br />
<br />
[CORBETTXPIE7]<br />
1=IE<br />
2=Test<br />
default=IE<br />
label=CORBETTXPIE7<br />
<br />
[IE]<br />
browser=IE 8<br />
latency=0<br />
label="CORBETTXPIE7 - IE 8"<br />
;browserExe=pagetest.exe<br />
;key=TestKey123<br />
<br />
Here is my urlblaster.ini:<br />
[Configuration]<br />
Startup Delay=30<br />
Log File=c:\webpagetest\agent\urlblast<br />
Timeout=120<br />
use current account=1<br />
<br />
; Where to get work from<br />
Url Files Url=http://127.0.0.1/work/<br />
Location=IE<br />
;Location Key=TestKey123<br />
<br />
Any help would be greatly appreciated!]]></description>
			<content:encoded><![CDATA[I followed the instructions for installing a private instance of WebPageTest.  When I go to my localhost in a browser from the machine I have it installed on I get the WebPageTest screen, but the location and browser drop down lists are empty<br />
<br />
Here is my locations.ini<br />
[locations]<br />
1=CORBETTXPIE7<br />
default=CORBETTXPIE7<br />
<br />
;<br />
; These are the top-level locations that are listed in the location dropdown<br />
; Each one points to one or more browser configurations<br />
;<br />
<br />
[CORBETTXPIE7]<br />
1=IE<br />
2=Test<br />
default=IE<br />
label=CORBETTXPIE7<br />
<br />
[IE]<br />
browser=IE 8<br />
latency=0<br />
label="CORBETTXPIE7 - IE 8"<br />
;browserExe=pagetest.exe<br />
;key=TestKey123<br />
<br />
Here is my urlblaster.ini:<br />
[Configuration]<br />
Startup Delay=30<br />
Log File=c:\webpagetest\agent\urlblast<br />
Timeout=120<br />
use current account=1<br />
<br />
; Where to get work from<br />
Url Files Url=http://127.0.0.1/work/<br />
Location=IE<br />
;Location Key=TestKey123<br />
<br />
Any help would be greatly appreciated!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[do all browsers without http-proxy]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10466</link>
			<pubDate>Wed, 25 Jan 2012 16:33:19 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10466</guid>
			<description><![CDATA[Hi Pat,<br />
in wptdriver.ini chrome.exe is started with parameter --no-proxy-server. You said wpt isn't made to measure through http-proxies. Are IE and FF started without http-proxy, too? Doesn't that, at least for IE, depend on Windows-Internet-settings of the agent?<br />
Regards, Nils]]></description>
			<content:encoded><![CDATA[Hi Pat,<br />
in wptdriver.ini chrome.exe is started with parameter --no-proxy-server. You said wpt isn't made to measure through http-proxies. Are IE and FF started without http-proxy, too? Doesn't that, at least for IE, depend on Windows-Internet-settings of the agent?<br />
Regards, Nils]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[The real speed of loading web site]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10462</link>
			<pubDate>Wed, 25 Jan 2012 14:57:58 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10462</guid>
			<description><![CDATA[Hi all,<br />
I know that it takes time to speed up site load ... and I have invested some time on this issue.<br />
A few days ago my friend recommended the site to test <br />
<a href="http://www.webpagetest.org" target="_blank">http://www.webpagetest.org</a><br />
<br />
and to do a comparison. Incredibly, his load of 1.5 seconds and my site by 7.8 seconds. I took pictures, cleaned up code, CSS, and the same is repeated in the result. What could be a problem. He told me that my hosting is not good quality. Is that correct, and what else do I need to obat attention? I would like to keep my slider, but if it is a problem I will find another solution...Test my site is located at:http://www.webpagetest.org/result/120125_6W_3027R/1/details/<br />
<br />
Any small suggestions will help me a lot<br />
<br />
Thanks!<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".jpg" />&nbsp;&nbsp;<a href="attachment.php?aid=166" target="_blank">test.jpg</a> (Size: 100.64 KB / Downloads: 108)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi all,<br />
I know that it takes time to speed up site load ... and I have invested some time on this issue.<br />
A few days ago my friend recommended the site to test <br />
<a href="http://www.webpagetest.org" target="_blank">http://www.webpagetest.org</a><br />
<br />
and to do a comparison. Incredibly, his load of 1.5 seconds and my site by 7.8 seconds. I took pictures, cleaned up code, CSS, and the same is repeated in the result. What could be a problem. He told me that my hosting is not good quality. Is that correct, and what else do I need to obat attention? I would like to keep my slider, but if it is a problem I will find another solution...Test my site is located at:http://www.webpagetest.org/result/120125_6W_3027R/1/details/<br />
<br />
Any small suggestions will help me a lot<br />
<br />
Thanks!<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".jpg" />&nbsp;&nbsp;<a href="attachment.php?aid=166" target="_blank">test.jpg</a> (Size: 100.64 KB / Downloads: 108)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[redirects confuse FF-measurements]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10461</link>
			<pubDate>Wed, 25 Jan 2012 13:43:50 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10461</guid>
			<description><![CDATA[Hi,<br />
I am using wpt 2.5 (incl. agent-patch for Chrome/FF-agents) wth IE 8, Chrome 16 and FF 7-agents.<br />
<br />
I have the following problems with my FF 7-measurements:<br />
<br />
Many of my pages do redirects in different ways. Some pages are loaded from the onload-event of a wait-page, for example. The FF-results of these pages are getting into a mess: e.g. a search result-page shows a document complete-time of about 4 and a fully loaded-time of about 5.5 seconds, tested with IE 8. Same page tested with FF 7 shows a document complete-time of 0.1 and a fully loaded-time of about 3.5 seconds. The first html-request for the wait-page is measured for document loaded-time, apparently (see attachement).<br />
<br />
I will try to integrate some end condition-commands in wpt-scripts like requiredRequest (with requests for static resources on the main page) but don' know whether that will change the measurements.<br />
<br />
Do you have another idea to obtain comparable IE- and FF-measurements with pages incl. redirects?<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".jpg" />&nbsp;&nbsp;<a href="attachment.php?aid=165" target="_blank">FF_DocReadyNearly0.jpg</a> (Size: 216.44 KB / Downloads: 29)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi,<br />
I am using wpt 2.5 (incl. agent-patch for Chrome/FF-agents) wth IE 8, Chrome 16 and FF 7-agents.<br />
<br />
I have the following problems with my FF 7-measurements:<br />
<br />
Many of my pages do redirects in different ways. Some pages are loaded from the onload-event of a wait-page, for example. The FF-results of these pages are getting into a mess: e.g. a search result-page shows a document complete-time of about 4 and a fully loaded-time of about 5.5 seconds, tested with IE 8. Same page tested with FF 7 shows a document complete-time of 0.1 and a fully loaded-time of about 3.5 seconds. The first html-request for the wait-page is measured for document loaded-time, apparently (see attachement).<br />
<br />
I will try to integrate some end condition-commands in wpt-scripts like requiredRequest (with requests for static resources on the main page) but don' know whether that will change the measurements.<br />
<br />
Do you have another idea to obtain comparable IE- and FF-measurements with pages incl. redirects?<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".jpg" />&nbsp;&nbsp;<a href="attachment.php?aid=165" target="_blank">FF_DocReadyNearly0.jpg</a> (Size: 216.44 KB / Downloads: 29)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[From Dedicated Server to VPS]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10459</link>
			<pubDate>Tue, 24 Jan 2012 14:42:21 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10459</guid>
			<description><![CDATA[So I've been on a dedicated server for ~1 year now, and I constantly notice that every month, we're using far less than what is allotted to us. If we move down to a VPS server, I can save as much as 40%-50% from what I'm paying right now for a dedicated server, and I'd like to hear your opinion on this issue. <br />
<br />
Right now with the dedicated server I get an i.3, 3.2 GHz Dual Core CPU, 2GB DDR3 1333Mhz RAM, 1TB/Month transfer, a 250GB Drive and 250GB back up. <br />
<br />
I talked to my hosting's sales guy and he said that the technicians told him that I'm only using anywhere from 600MB to 1GB of Ram on average. <br />
<br />
My monthly bandwith usage is only around 50GBs, and I'm only using 30GB out of my 250GB space. <br />
<br />
I'm thinking of moving to a VPS with either: 2GB of RAM and 800GB/mth transfer, or a 1.5GB of RAM with 600GB/mth transfer.<br />
<br />
In the past one year, we've doubled our average daily page views. So if the same trend continue, I assume that one year from now I'm only going to be using 100GB of transfer and 2GB of RAM. We're also getting better at configuring the site so that a lot of things are cached, and almost all static contents are on a CDN now, so I actually expect RAM and bandwith usage to drop this month. <br />
<br />
Recently I've also tried test driving Amazon's EC2, but I think for now I'd rather keep things simple and use a fully managed hosting. <br />
<br />
FYI this is one of the most recent test results that we got:<br />
<a href="http://www.webpagetest.org/result/120124_DF_2ZMA1/" target="_blank">http://www.webpagetest.org/result/120124_DF_2ZMA1/</a><br />
<br />
Any comments are appreciated.]]></description>
			<content:encoded><![CDATA[So I've been on a dedicated server for ~1 year now, and I constantly notice that every month, we're using far less than what is allotted to us. If we move down to a VPS server, I can save as much as 40%-50% from what I'm paying right now for a dedicated server, and I'd like to hear your opinion on this issue. <br />
<br />
Right now with the dedicated server I get an i.3, 3.2 GHz Dual Core CPU, 2GB DDR3 1333Mhz RAM, 1TB/Month transfer, a 250GB Drive and 250GB back up. <br />
<br />
I talked to my hosting's sales guy and he said that the technicians told him that I'm only using anywhere from 600MB to 1GB of Ram on average. <br />
<br />
My monthly bandwith usage is only around 50GBs, and I'm only using 30GB out of my 250GB space. <br />
<br />
I'm thinking of moving to a VPS with either: 2GB of RAM and 800GB/mth transfer, or a 1.5GB of RAM with 600GB/mth transfer.<br />
<br />
In the past one year, we've doubled our average daily page views. So if the same trend continue, I assume that one year from now I'm only going to be using 100GB of transfer and 2GB of RAM. We're also getting better at configuring the site so that a lot of things are cached, and almost all static contents are on a CDN now, so I actually expect RAM and bandwith usage to drop this month. <br />
<br />
Recently I've also tried test driving Amazon's EC2, but I think for now I'd rather keep things simple and use a fully managed hosting. <br />
<br />
FYI this is one of the most recent test results that we got:<br />
<a href="http://www.webpagetest.org/result/120124_DF_2ZMA1/" target="_blank">http://www.webpagetest.org/result/120124_DF_2ZMA1/</a><br />
<br />
Any comments are appreciated.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Will mass tests on 1 day harm your website?]]></title>
			<link>http://www.webpagetest.org/forums/showthread.php?tid=10457</link>
			<pubDate>Mon, 23 Jan 2012 23:10:29 +0000</pubDate>
			<guid isPermaLink="false">http://www.webpagetest.org/forums/showthread.php?tid=10457</guid>
			<description><![CDATA[Couldn't find the answer anywhere....<br />
Let's say I want to run tests ALL DAY on a website that usually generates only 15 uniques a day. (reason is irrelevant)<br />
Will the unique hits generated by this tool on this 1 day we run tests (by means of bounce rate, all the analysed info, etc.) cause a website to lose it's place on Google searches? <br />
Are there any repercussions to testing your website consistently over a certain amount of hours?<br />
Is there a difference between running 100 test and 5,000 tests a day with any issues?<br />
*If its not recommended to run this amount of test per day why is that information not located anywhere easily accessible? (I assume it's okay to run any amount of tests anytime you want, it should be, otherwise 3rd parties need to fix the way they index)<br />
Thank you!]]></description>
			<content:encoded><![CDATA[Couldn't find the answer anywhere....<br />
Let's say I want to run tests ALL DAY on a website that usually generates only 15 uniques a day. (reason is irrelevant)<br />
Will the unique hits generated by this tool on this 1 day we run tests (by means of bounce rate, all the analysed info, etc.) cause a website to lose it's place on Google searches? <br />
Are there any repercussions to testing your website consistently over a certain amount of hours?<br />
Is there a difference between running 100 test and 5,000 tests a day with any issues?<br />
*If its not recommended to run this amount of test per day why is that information not located anywhere easily accessible? (I assume it's okay to run any amount of tests anytime you want, it should be, otherwise 3rd parties need to fix the way they index)<br />
Thank you!]]></content:encoded>
		</item>
	</channel>
</rss>
