futuretrack5: HowTo: Decrease Page Load Times http://www.futuretrack5.com/articles/2007/07/02/howto-decrease-page-load-times en-us 40 "HowTo: Decrease Page Load Times" by Nathan Friedly <p>Wow.. apparently I don&#8217;t read your blog very often&#8230;</p> Mon, 22 Oct 2007 16:14:50 +0000 urn:uuid:57adc2fd-fa80-4d71-9b18-3b98336832db http://www.futuretrack5.com/articles/2007/07/02/howto-decrease-page-load-times#comment-303 "HowTo: Decrease Page Load Times" by Nathan Friedly <p>This reminds me of an article I read a while back about how to do this from the server side: use multiple subdomains.</p> <p><a href='http://www.die.net/musings/page_load_time/' rel="nofollow">http://www.die.net/musings/page_load_time/</a></p> <p>The goal was slightly different here, but probably a bit more applicable to our everyday work.</p> Mon, 22 Oct 2007 16:07:47 +0000 urn:uuid:50fb276e-7ae4-4ee3-92f4-0562ce2820e1 http://www.futuretrack5.com/articles/2007/07/02/howto-decrease-page-load-times#comment-302 "HowTo: Decrease Page Load Times" by Dick Davies <p>For a standard Apache server (using the prefork model), each persistent connection will need an apache child process.</p> <p>It&#8217;s probably a good thing most clients don&#8217;t up these settings :)</p> Mon, 02 Jul 2007 18:21:44 +0000 urn:uuid:2e8c242d-f994-4a3a-8f13-6933b4f738cc http://www.futuretrack5.com/articles/2007/07/02/howto-decrease-page-load-times#comment-301 HowTo: Decrease Page Load Times <p>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 &#8211; severely.</p> <p>I have one Linux server, performing port forwarding for our overseas offices (mostly so they can use Remote Desktop).</p> <p>I had developed a <span class="caps">PHP</span> 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 &#8211; especially since some requests were making a round trip from the UK to Australia.</p> <p>On the weekend I upgraded the page to use a very small <span class="caps">AJAX</span> library I wrote. Although the page loaded quickly, the statuses returned from each <span class="caps">AJAX</span> request were slow.</p> <p>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.</p> <div><b>Firefox</b></div> <ul><li>Enter into the address bar:<br />about:config</li> <li>Then filter on the string:<br />connections</li> <li>Change the value of network.http.max-connections to 64</li> <li>Change the value of network.http.max-connections-per-server to 32</li> <li style="text-align:left;">Change the value of network.http.max-persistent-connections-per-server to 8</li></ul> <div><b>Microsoft Internet Explorer</b></div> <ul><li>Create a new text file and save it with a .reg extension.</li> <li>Paste into this file the following text:</li></ul> <pre style="font-size:80%;">Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] “MaxConnectionsPerServer”=dword:00000010 “MaxConnectionsPer1_0Server”=dword:0000010</pre> <ul><li>Save the reg file.</li> <li>Double click on it to import the updated settings.</li></ul> <p>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.</p> <p>In retrospect, I remember using a Firefox extension called <a href="http://fasterfox.mozdev.org/" target="_blank">Fasterfox</a> in the past, however I would rather keep my extension list short.</p> <p>Long ago, Mosaic and Netscape allowed users to configure the maximum number of connections. Here is a screenshot I took for you old timers ;-)</p> <a href="http://futuretrack5.com/files/mosaic_netscape_1024x768.gif" target="_blank"><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" /></a> Mon, 02 Jul 2007 09:54:00 +0000 urn:uuid:304baa6f-39a0-4446-b4dc-fa3c8c3dfd3d Mike Skinner http://www.futuretrack5.com/articles/2007/07/02/howto-decrease-page-load-times http://www.futuretrack5.com/articles/trackback/300