<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>futuretrack5</title>
    <link>http://futuretrack5.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description />
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Futuretrack5" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
      <title>HowTo: Decrease Page Load Times</title>
      <description>&lt;p&gt;Whilst working on the weekend, I found that the number of simultaneous requests I could make to a web server was limited by my web browser &amp;#8211; severely.&lt;/p&gt;

&lt;p&gt;I have one Linux server, performing port forwarding for our overseas offices (mostly so they can use Remote Desktop).&lt;/p&gt;

&lt;p&gt;I had developed a &lt;span class="caps"&gt;PHP&lt;/span&gt; page to display whether a connection could be opened on each of the forwarded ports. A connection attempt would be tried against each port sequentially, however this caused the page to load very slowly &amp;#8211; especially since some requests were making a round trip from the UK to Australia.&lt;/p&gt;

&lt;p&gt;On the weekend I upgraded the page to use a very small &lt;span class="caps"&gt;AJAX&lt;/span&gt; library I wrote. Although the page loaded quickly, the statuses returned from each &lt;span class="caps"&gt;AJAX&lt;/span&gt; request were slow.&lt;/p&gt;

&lt;p&gt;Although the browser settings I ended up tweaking will not make the aforementioned page load faster (unless all users make these changes), it does make web pages load faster in general.&lt;/p&gt;

&lt;div&gt;&lt;b&gt;Firefox&lt;/b&gt;&lt;/div&gt;
&lt;ul&gt;&lt;li&gt;Enter into the address bar:&lt;br /&gt;about:config&lt;/li&gt;
&lt;li&gt;Then filter on the string:&lt;br /&gt;connections&lt;/li&gt;
&lt;li&gt;Change the value of network.http.max-connections to 64&lt;/li&gt;
&lt;li&gt;Change the value of network.http.max-connections-per-server to 32&lt;/li&gt;
&lt;li style="text-align:left;"&gt;Change the value of network.http.max-persistent-connections-per-server to 8&lt;/li&gt;&lt;/ul&gt;

&lt;div&gt;&lt;b&gt;Microsoft Internet Explorer&lt;/b&gt;&lt;/div&gt;
&lt;ul&gt;&lt;li&gt;Create a new text file and save it with a .reg extension.&lt;/li&gt;
&lt;li&gt;Paste into this file the following text:&lt;/li&gt;&lt;/ul&gt;
&lt;pre style="font-size:80%;"&gt;Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
“MaxConnectionsPerServer”=dword:00000010
“MaxConnectionsPer1_0Server”=dword:0000010&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Save the reg file.&lt;/li&gt;
&lt;li&gt;Double click on it to import the updated settings.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Please note that a logoff or reboot may be required after altering the registry. If you are unsure about modifying your registry, please Google these settings first as I will not be held liable for any adverse consequences for these instructions.&lt;/p&gt;

&lt;p&gt;In retrospect, I remember using a Firefox extension called &lt;a href="http://fasterfox.mozdev.org/" target="_blank"&gt;Fasterfox&lt;/a&gt; in the past, however I would rather keep my extension list short.&lt;/p&gt;

&lt;p&gt;Long ago, Mosaic and Netscape allowed users to configure the maximum number of connections. Here is a screenshot I took for you old timers ;-)&lt;/p&gt;
&lt;a href="http://futuretrack5.com/files/mosaic_netscape_1024x768.gif" target="_blank"&gt;&lt;img src="http://futuretrack5.com/files/mosaic_netscape_1024x768.gif" width="320" height="240" alt="Click to zoom in" title="Click to zoom in" border="0" /&gt;&lt;/a&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:54:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:304baa6f-39a0-4446-b4dc-fa3c8c3dfd3d</guid>
      <author>Mike Skinner</author>
      <link>http://feedproxy.google.com/~r/Futuretrack5/~3/F_9tp1BvkPI/howto-decrease-page-load-times</link>
      <trackback:ping>http://futuretrack5.com/articles/trackback/300</trackback:ping>
    <feedburner:origLink>http://futuretrack5.com/articles/2007/07/02/howto-decrease-page-load-times</feedburner:origLink></item>
  </channel>
</rss>
