<?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>My IT-blog &#187; configuration</title>
	<atom:link href="http://dev.eek.be/tag/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.eek.be</link>
	<description>IT knowledge exchange</description>
	<lastBuildDate>Sun, 18 Dec 2011 10:37:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Testing the new mod_pagespeed for Apache 2 from Google</title>
		<link>http://dev.eek.be/2010/11/testing-the-new-mod_pagespeed-for-apache-2-from-google/</link>
		<comments>http://dev.eek.be/2010/11/testing-the-new-mod_pagespeed-for-apache-2-from-google/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 21:33:34 +0000</pubDate>
		<dc:creator>Wim</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[mod_pagespeed]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://dev.eek.be/?p=427</guid>
		<description><![CDATA[Google released a new module for Apache2, mod_pagespeed, yesterday. They claim that a webpage can load 50% faster with the module installed. I&#8217;m a little bit sceptic about that claim so it&#8217;s time to give it a little test. For this test, I&#8217;ve set up a server (1 intel processor/512MB ram/12MB video memory) with Ubuntu ]]></description>
			<content:encoded><![CDATA[<p>Google released a new module for Apache2, <a href="http://googlecode.blogspot.com/2010/11/make-your-websites-run-faster.html" target="_blank">mod_pagespeed</a>, yesterday. They claim that a webpage can load 50% faster with the module installed.<br />
I&#8217;m a little bit sceptic about that claim so it&#8217;s time to give it a little test.</p>
<p>For this test, I&#8217;ve set up a server (1 intel processor/512MB ram/12MB video memory) with Ubuntu Server 10.10 (32 bit).<br />
I could test some static resources but nowadays, particularly all websites are dynamic ones so I&#8217;ve installed Mysql/PHP and of course Apache2, all with the default settings, on my server.<br />
Next, I&#8217;ve downloaded WordPress and installed it on the server, changed the appearance to &#8216;pixel theme&#8217; and added a few posts with images in.</p>
<p>Time to test <img src='http://dev.eek.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-427"></span></p>
<p>I&#8217;m not going to do fancy stuff, the module is installed with the default options enabled and I&#8217;ll just use Firebug to do the tests.</p>
<p>First the tests without the module installed:<br />
<a href="http://dev.eek.be/wp-content/uploads/2010/11/mod_pagespeed2.jpg"><img class="aligncenter size-medium wp-image-436" title="mod_pagespeed " src="http://dev.eek.be/wp-content/uploads/2010/11/mod_pagespeed2-300x80.jpg" alt="" width="300" height="80" /></a></p>
<table id="wp-table-reloaded-id-2-no-1" class="wp-table-reloaded wp-table-reloaded-id-2">
<thead>
<tr class="row-1 odd">
<th class="column-1"></th>
<th class="column-2">pageRequests</th>
<th class="column-3">pagesize (KB)</th>
<th class="column-4">Loadtime (ms)</th>
</tr>
</thead>
<tfoot>
<tr class="row-12 even">
<th class="column-1">Average</th>
<th class="column-2">14</th>
<th class="column-3">354.9</th>
<th class="column-4">480</th>
</tr>
</tfoot>
<tbody class="row-hover">
<tr class="row-2 even">
<td class="column-1">Test 1</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">504</td>
</tr>
<tr class="row-3 odd">
<td class="column-1">Test 2</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">471</td>
</tr>
<tr class="row-4 even">
<td class="column-1">Test 3</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">596</td>
</tr>
<tr class="row-5 odd">
<td class="column-1">Test 4</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">459</td>
</tr>
<tr class="row-6 even">
<td class="column-1">Test 5</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">480</td>
</tr>
<tr class="row-7 odd">
<td class="column-1">Test 6</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">479</td>
</tr>
<tr class="row-8 even">
<td class="column-1">Test 7</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">446</td>
</tr>
<tr class="row-9 odd">
<td class="column-1">Test 8</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">457</td>
</tr>
<tr class="row-10 even">
<td class="column-1">Test 9</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">460</td>
</tr>
<tr class="row-11 odd">
<td class="column-1">Test 10</td>
<td class="column-2">14</td>
<td class="column-3">354.9</td>
<td class="column-4">444</td>
</tr>
</tbody>
</table>
<p>
The results with the module installed:<br />
<a href="http://dev.eek.be/wp-content/uploads/2010/11/mod_pagespeed12.jpg"><img src="http://dev.eek.be/wp-content/uploads/2010/11/mod_pagespeed12-300x69.jpg" alt="" title="mod_pagespeed" width="300" height="69" class="aligncenter size-medium wp-image-450" /></a></p>
<table id="wp-table-reloaded-id-3-no-1" class="wp-table-reloaded wp-table-reloaded-id-3">
<thead>
<tr class="row-1 odd">
<th class="column-1"></th>
<th class="column-2">pageRequests</th>
<th class="column-3">pagesize (KB)</th>
<th class="column-4">Loadtime (ms)</th>
</tr>
</thead>
<tfoot>
<tr class="row-12 even">
<th class="column-1">Average</th>
<th class="column-2">12</th>
<th class="column-3">349.7</th>
<th class="column-4">421.8</th>
</tr>
</tfoot>
<tbody class="row-hover">
<tr class="row-2 even">
<td class="column-1">Test 1</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">451</td>
</tr>
<tr class="row-3 odd">
<td class="column-1">Test 2</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">417</td>
</tr>
<tr class="row-4 even">
<td class="column-1">Test 3</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">406</td>
</tr>
<tr class="row-5 odd">
<td class="column-1">Test 4</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">437</td>
</tr>
<tr class="row-6 even">
<td class="column-1">Test 5</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">403</td>
</tr>
<tr class="row-7 odd">
<td class="column-1">Test 6</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">463</td>
</tr>
<tr class="row-8 even">
<td class="column-1">Test 7</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">393</td>
</tr>
<tr class="row-9 odd">
<td class="column-1">Test 8</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">436</td>
</tr>
<tr class="row-10 even">
<td class="column-1">Test 9</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">383</td>
</tr>
<tr class="row-11 odd">
<td class="column-1">Test 10</td>
<td class="column-2">12</td>
<td class="column-3">349.7</td>
<td class="column-4">429</td>
</tr>
</tbody>
</table>
<p><script type="text/javascript"><!--
google_ad_client = "pub-1041875485625119";
/* 468x60, gemaakt 5-11-10 */
google_ad_slot = "2519777813";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Mod_pagespeed_statistics:</p>
<table id="wp-table-reloaded-id-4-no-1" class="wp-table-reloaded wp-table-reloaded-id-4">
<tbody class="row-hover">
<tr class="row-1 odd">
<td class="column-1">resource_fetches</td>
<td class="column-2">0</td>
</tr>
<tr class="row-2 even">
<td class="column-1">total_page_load_ms</td>
<td class="column-2">3240</td>
</tr>
<tr class="row-3 odd">
<td class="column-1">page_load_count</td>
<td class="column-2">10</td>
</tr>
<tr class="row-4 even">
<td class="column-1">cache_extensions</td>
<td class="column-2">30</td>
</tr>
<tr class="row-5 odd">
<td class="column-1">not_cacheable</td>
<td class="column-2">0</td>
</tr>
<tr class="row-6 even">
<td class="column-1">css_file_count_reduction</td>
<td class="column-2">0</td>
</tr>
<tr class="row-7 odd">
<td class="column-1">css_filter_files_minified</td>
<td class="column-2">10</td>
</tr>
<tr class="row-8 even">
<td class="column-1">css_filter_minified_bytes_saved</td>
<td class="column-2">40</td>
</tr>
<tr class="row-9 odd">
<td class="column-1">css_filter_parse_failures</td>
<td class="column-2">10</td>
</tr>
<tr class="row-10 even">
<td class="column-1">css_elements</td>
<td class="column-2">0</td>
</tr>
<tr class="row-11 odd">
<td class="column-1">image_inline</td>
<td class="column-2">10</td>
</tr>
<tr class="row-12 even">
<td class="column-1">image_rewrite_saved_bytes</td>
<td class="column-2">0</td>
</tr>
<tr class="row-13 odd">
<td class="column-1">image_rewrites</td>
<td class="column-2">20</td>
</tr>
<tr class="row-14 even">
<td class="column-1">javascript_blocks_minified</td>
<td class="column-2">0</td>
</tr>
<tr class="row-15 odd">
<td class="column-1">javascript_bytes_saved</td>
<td class="column-2">0</td>
</tr>
<tr class="row-16 even">
<td class="column-1">javascript_minification_failures</td>
<td class="column-2">0</td>
</tr>
<tr class="row-17 odd">
<td class="column-1">javascript_total_blocks</td>
<td class="column-2">0</td>
</tr>
<tr class="row-18 even">
<td class="column-1">url_trims</td>
<td class="column-2">0</td>
</tr>
<tr class="row-19 odd">
<td class="column-1">url_trim_saved_bytes</td>
<td class="column-2">0</td>
</tr>
<tr class="row-20 even">
<td class="column-1">resources_404_count</td>
<td class="column-2">0</td>
</tr>
<tr class="row-21 odd">
<td class="column-1">slurp_404_count</td>
<td class="column-2">0</td>
</tr>
<tr class="row-22 even">
<td class="column-1">serf_fetch_requests_count</td>
<td class="column-2">0</td>
</tr>
<tr class="row-23 odd">
<td class="column-1">serf_fetch_bytes_count</td>
<td class="column-2">0</td>
</tr>
<tr class="row-24 even">
<td class="column-1">serf_fetch_time_duration_ms</td>
<td class="column-2">0</td>
</tr>
<tr class="row-25 odd">
<td class="column-1">serf_fetch_cancel_count</td>
<td class="column-2">0</td>
</tr>
</tbody>
</table>
<p>
Conclusion:</p>
<ul>
<li>The amount of requests have been reduced in this case with 2 (<span style="color: #99cc00;">-15%</span>)</li>
<li>The pagesize has been reduced with 5.2KB (<span style="color: #99cc00;">-1.5%</span>)</li>
<li>The loadtime is shorter when mod_pagespeed is enabled (<span style="color: #99cc00;">-13%</span>)</li>
</ul>
<p>The 50% profit claim is a little bit optimistic because the bottleneck in the pageload is the dynamic content and that&#8217;s a part where this module doesn&#8217;t do anything. But in general, the module does a reasonably good job. I get a 13% profit with mostly default values, a good configured server should propably even do better.<br />
I will definitely test this further and maybe put it one day on a production server.</p>
<p>The config used in this test looks like this:</p>
<pre class="prettyprint">
&lt;IfModule pagespeed_module&gt;
    SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER
     ModPagespeed on
     ModPagespeedUrlPrefix "http://localhost/"
     ModPagespeedFileCachePath "/var/mod_pagespeed/cache/"
     ModPagespeedGeneratedFilePrefix "/var/mod_pagespeed/files/"
     ModPagespeedRewriteLevel CoreFilters
     ModPagespeedDomain localhost
     ModPagespeedEnableFilters add_instrumentation
&lt;IfModule&gt;
</pre>
<p>My full configuration file can be downloaded <a href='http://dev.eek.be/2010/11/testing-the-new-mod_pagespeed-for-apache-2-from-google/mod_pagespeed/' rel='attachment wp-att-456'>here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.eek.be/2010/11/testing-the-new-mod_pagespeed-for-apache-2-from-google/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tweaking Firefox: Disable login dialog</title>
		<link>http://dev.eek.be/2009/10/tweaking-firefox-disable-login-dialog/</link>
		<comments>http://dev.eek.be/2009/10/tweaking-firefox-disable-login-dialog/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 18:28:38 +0000</pubDate>
		<dc:creator>Wim</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://dev.eek.be/?p=157</guid>
		<description><![CDATA[If you want to visit a webpage which is password protected, you can skip the authentication screen by placing your username and password directly into the url like http://user:pass@www.eek.be . If you want to log in like this, Firefox will show you a dialog where you have to confirm that you want to login directly ]]></description>
			<content:encoded><![CDATA[<p><img src="http://dev.eek.be/wp-content/uploads/2009/10/firefox_medium-150x150.png" alt="firefox_medium" title="firefox_medium" width="150" height="150" class="aligncenter size-thumbnail wp-image-165" />If you want to visit a webpage which is password protected, you can skip the authentication screen by placing your username and password directly into the url like http://user:pass@www.eek.be .</p>
<p>If you want to log in like this, Firefox will show you a dialog where you have to confirm that you want to login directly into the website.</p>
<p><img src="http://dev.eek.be/wp-content/uploads/2009/10/loginfirefox.png" alt="loginfirefox" title="loginfirefox" width="536" height="144" class="aligncenter size-full wp-image-159" /></p>
<p>This is done for some securityreasons because it&#8217;s possible, like the dialog says, to trick a user to the wrong site.<br />
Take for instance the following url:<br />
http://www.eek.be&#038;login:password@example.com/badsite<br />
This url looks perfectly valid but if you have a good look at it, you will see that the url is not one of eek.be but one of example.com. So when a user clicks this link, it will be redirected to a page he didn&#8217;t expected or worse, a site that looks like the page he thinks he expects which asks him for his creditcard/username/password/&#8230;</p>
<p>So this built in security in Firefox is a very good case.<br />
But in some cases, you just want to login to a site without that annoying alertbox. Luckily, In firefox, it&#8217;s possible to configure this option.<br />
Go to the options in Firefox by surfing to:</p>
<pre class="prettyprint">
about:config
</pre>
<p>You should get a warning but you can proceed without any concerns.</p>
<p>Now you have to rightclick inside the optionsscreen and choose new->integer<br />
A popup shows up and you have to fill in the optionsname</p>
<pre class="prettyprint">
network.http.phishy-userpass-length
</pre>
<p>
<img src="http://dev.eek.be/wp-content/uploads/2009/10/phisy.png" alt="phisy" title="phisy" width="396" height="168" class="aligncenter size-full wp-image-160" /></p>
<p>secondly, you have to give a value to the option.<br />
In this case, the value means how many characters a login can have before the dialog appears. By default it&#8217;s 1 in Firefox. In this case I change it to 100 which is enough in most cases.<br />
If you want to disable it always, you have to set the integer to 255.</p>
<p><img src="http://dev.eek.be/wp-content/uploads/2009/10/integer.png" alt="integer" title="integer" width="395" height="165" class="aligncenter size-full wp-image-161" /></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.eek.be/2009/10/tweaking-firefox-disable-login-dialog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

