Proxomitron forum 2
May 18, 2013, 04:43:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: No Activity here!!! Go to http://prxbx.com/forums/index.php This forum is for reading
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: IE6 Speed Tweaks  (Read 5039 times)
hpguru
Hero Member
*****
Posts: 2271


View Profile WWW
« on: October 22, 2003, 07:39:30 AM »

These are the tweaks I use to enhance the performance of Internet Explorer 6. If you are running a version earlier than IE6 then I can only recommend you upgrade first since IE6 is faster than previous versions even without these tweaks. X-Setup is required to implement some of these tweaks.

Optimize the TIF and History Caches (Logoff or reboot required)

In the Internet Options on the General tab click the Settings button. Set Check for newer versions of stored pages to Never. This will force IE to use the cached copy of a site if available. Under Temporary Internet files folder set the TIF cache to a very large size (mine is 768MB). The idea isn't to let the cache utilization grow that large but to tell IE it has heaps and gobs of space available. Just make sure you do not allocate more space to the cache than is available on the disk.

In the Internet Options on the General tab set Days to keep pages in history to one day.

If you have a second hard disk that is as fast or faster than the master disk then move the TIF, History, Cookies and UserData caches to the first partition on the second disk. The only other file on that partition should be the pagefile or at least don't use that partition for general storage.

Moving the TIF is easy but redirecting the other cache folders will require editing the registry.

To move the TIF, In the Internet Options on the General tab click the Move Folder button. Browse to the first drive on the second disk (or a folder therein) and click OK till you are prompted to reboot.

To move the History folder, open Regedit and edit the following two values to point to the same drive path where you moved the TIF.

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\
Shell Folders/History
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\
User Shell Folders/History

In like manner edit the Cookies values at the same locations.

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\
Shell Folders/Cookies
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\
User Shell Folders/Cookies

The path to the UserData folder (which may not exist) can be changed at

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache\UserData/CachePath

While Regedit is open delete the following keys.

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
RemoteComputer\NameSpace\
{2227A280-3AEA-1069-A2DE-08002B30309D}
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
RemoteComputer\NameSpace\
{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

It's a common speed tweak for IE, I just go a step further to delete both keys under the NameSpace key.


Disable the HTML Source Editor Check

Open Regedit and navigate to

HKCU\Software\Microsoft\Internet Explorer\Main

Create a new string value named CheckDocumentForProgID and give it a value of no. This will stop IE from checking program IDs in documents to determine which editor to use.


Force IE to treat plain text as text

In Regedit, navigate to

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings

Create a new DWORD named IsTextPlainHonored and give it a value of 1 (Decimal).


Disable the Content Advisor (if enabled).

In the Internet Options on the Content tab under Content Advisor, click the Disable button if present (password may be required).


Clean up invalid code pages (requires X-Setup)

This is an important tweak. Open X-Setup and navigate to the Internet Explorer plug-ins. Click Clean up code page references in the left pane, check Attempt to improve IE performance by cleaning up codepages and click Apply changes


Increase simultaneous server connections

This is an important tweak. While in X-Setup, click Server Connections in the left pane. Type in 20 for HTTP/1.0 conn. and 10 for HTTP/1.1 conn. My settings are a little high so you might wish to try 16 and 8 respectively or experiment till you find your sweet spot. As a general rule I recommend the 1.0 setting be twice that of the 1.1 setting.


Use a local htm file as a startpage

IE will start faster if you use a local startpage since nothing has to be fetched from the net. Also if you are like me you probably load your startpage more than any other webpage so your access to this page will be more rapid if it and all files linked to it are stored locally on your disk. Plus there won't be any dot coms/nets privy to every time you start your browser or click Home. One thing though, don't use a page served by a local http server as IE will cache the page as if fetched from the net. Open Internet Options and on the General tab type in file:///C:/Path2/MyStartPage.htm.


Enable HTTP/1.1 and HTTP/1.1 through proxy connections

This is by far the most important tweak. In Internet Options on the Advanced tab enable both HTTP/1.1 options. While you are at it verify that Send only HTTP/1.0 requests is disabled in Proxo.


Enable UDP localhost loopback
This is very important. Verify that your firewall permits localhost loopback for both TCP and UDP. Blocking UDP on localhost will slow IE to a dead crawl.


Miscellaneous Tweaks

While on the Advanced tab, setting the following options can improve IEs performance but may not be for everybody.

Disable Automatically check for IE updates.
Check Disable script debugging (if the debugger is installed).
Disable Display notification of every script error.
Disable Enable folder view of FTP sites.
Disable both Install on demand options.
Disable Enable off-line items to be synchronized on a schedule.
Disable Page Transitions
Disable all options under Microsoft VM
Disable all options under Multimedia except
Don't display online media content in the MediaBar and
Show Pictures
Under Security disable the Profile Assistant. You can also shave off a few milliseconds by disabling the certificate checks but I don't recommend it.

Things you can do with Proxo
Remove or replace all cache breaking headers and tags (filters abound).
Inject a script (see below) that contains the following two lines of code.

Code


window.offscreenBuffering=true;\n
window.onerror=function() { return true; }\n



The first line enables off-screen buffering (default is auto) which forces IE to render offscreen. Much faster than repeatedly filling and dumping the buffer to screen. All DOM compliant browsers should support this object property.
The second line turns off error reporting.

Common Sense Practices
Defrag often.
Uninstall unused or frivolous IE addons.
Remove any and all spyware.
If you use a hosts file for ad blocking, use eDexter (not the java version) with it.

Here is my Page Load timer that includes the two script lines mentioned above.

Code


[Patterns]
Name = "Page Load Timer part I"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 10
Match = "(^(^<head>))"
Replace = "<script type="text/javascript">\n"
          "<!--\n"
          "var pxst=new Date();\n"
          "window.offscreenBuffering=true;\n"
          "window.onerror=function() { return true; }\n"
          "function endT() {\n"
          "var pxet=new Date();\n"
          "loadT=('Load Time: '+(pxet.getTime()-pxst.getTime())/1000+' second(s)');\n"
          "window.defaultStatus=loadT;\n"
          "}\n"
          "//-->\n"
          "</script>\n$STOP()"

Name = "<end>: Page Load Timer v2.2 Part II"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 5
Match = "<end>"
Replace = "<script type="text/javascript">\n"
          "<!--\n"
          "window.onload=endT;\n"
          "//-->\n"
          "</script>\n$STOP()"




I think that's about it. If I forgot something I'll post it later.




God protect me from your followers.
Logged

 
Shea
Full Member
***
Posts: 170


View Profile WWW
« Reply #1 on: October 22, 2003, 03:03:21 PM »

Thanx hpguru I hope those things work for me!




[Shea][-thu]
Logged

[::::::::::::::::::::::::::::::::::::]

¤{=(~•»::[Shea]::«•~)=}¤
YoKenny
Full Member
***
Posts: 150


View Profile
« Reply #2 on: October 22, 2003, 03:14:02 PM »

All good tweeks.  [-ibe]

quote:
Under Temporary Internet files folder set the TIF cache to a very large size (mine is 768MB).
I have heard that setting it to 50MB will improve performance.

I also use CacheSentry and have set it to 20MB.
"This is a program that fixes serious bugs in the Internet Explorer cache manager (versions 3.0 on up through and including Internet Explorer for Windows XP, and IE6). This program basically takes over the job of managing the cache from Internet Explorer, and the result is your web browsing session will be more enjoyable. CacheSentry isn't like those "web accelleration" programs that hook into IE and attempt to make guesses about your browsing habits. CacheSentry simply does a better job of removing files from the cache, and fixes a few other bugs present in most versions of Internet Explorer."
http://www.enigmaticsoftware.com/cachesentry.html

quote:
Use a local htm file as a startpage
I use a bit different approach.   I modify the startup of IE in the Quick Launch bar:
"C:\Program Files\Internet Explorer\iexplore.exe" -nohome
I keep my set Home page on the Desktop for when I want it.

quote:
Disable the Content Advisor (if enabled).
1) Click on Start and choose Run.
2) Type in RegEdit and select OK.
3) Now click on the little plus sign to the left of H_KEY_LOCAL_MACHINE.
4) Continue to drill down, always clicking on the plus sign at the left of the named key, through Software, Microsoft, Windows, Current Version and Policies.
5) Now click on the Ratings folder.
6) In the right pane of the RegEdit window, you'll see an icon called Key. Click on it and press Delete.
7) Next, choose Registry and then Exit to exit RegEdit. You've just deleted your original Content Advisor password.
Cool Restart the computer and run Internet Explorer again.
9) Choose View and then Internet Options (or Options for version 3.x). For IE 5 or greater, Click on Tools, Internet Options.
10) Click on the Content tab and click on Disable. When asked for a password, don't enter anything; just click on OK. This will disable Content Advisor because there's no longer a password.
Logged

 
YoKenny
Full Member
***
Posts: 150


View Profile
« Reply #3 on: October 22, 2003, 03:40:20 PM »

quote:
Force IE to treat plain text as text
This tweek caused OE to display newsgroup posts with funny attributes.  i.e. The linebreaks and quote indicators were showing incorrectly.  I set the value back to "0" and OE displays them correctly.
Logged

 
hpguru
Hero Member
*****
Posts: 2271


View Profile WWW
« Reply #4 on: October 22, 2003, 06:53:05 PM »

I use Agent for usenet so I would have never known. As for Content Adviser, mine is password protected and I have no trouble enabling or disabling it. Your method is useful if the password has been forgotten though.

I use CacheSentry also but I use the Task Scheduler to start it as CacheSentry.exe -i when my system has been idle for 10 minutes. As for cache size, allocating 768MB doesn't mean it actually uses that much space. I have IE set to clear the TIF when it is closed and I also have a vbs script which runs at logoff that completely deletes the TIF, History and UserData folders and the index.dat file in the Cookies folder. So unless I have an extraordinarily long session without closing IE the whole time the TIF will never grow that large. Again the idea is to provide IE with much more space than it needs to cut down of the frequency of cache cleanup.

Incidentally I am on my last trial of CacheSentry as I cannot determine if it is actually beneficial. I'm really not sure if IE6 is truly effected by this bug.



God protect me from your followers.
Logged

 
Kye-U
Administrator
Full Member
*****
Posts: 176


View Profile
« Reply #5 on: October 22, 2003, 10:14:25 PM »

Surprisingly enough, my IE6 seems slower than it was before...
« Last Edit: October 22, 2003, 11:42:49 PM by Kye-U » Logged

 
hpguru
Hero Member
*****
Posts: 2271


View Profile WWW
« Reply #6 on: October 23, 2003, 12:01:16 AM »

Go back over the settings you entered using Regedit to see if you may have made a mistake. You might need to play with the settings for simultaneous server connections to find your sweet spot. Also if you allocated more space to the cache make sure that the amount allocated is actually available.

Other than that I don't know. To date everyone else I have shared these tweaks with has reported a marked improvement.



God protect me from your followers.
Logged

 
Kye-U
Administrator
Full Member
*****
Posts: 176


View Profile
« Reply #7 on: October 23, 2003, 12:07:22 AM »

Weird, it seems ok now... o_O

Anyways, thanks for sharing your settings ^_^ I have modified the Http 1.0 and 1.1 settings, and followed your settings for Internet Options. (Also the injected script Wink)Thanks!
« Last Edit: October 23, 2003, 12:08:56 AM by Kye-U » Logged

 
hpguru
Hero Member
*****
Posts: 2271


View Profile WWW
« Reply #8 on: October 23, 2003, 12:11:13 AM »

Network bottleneck perhaps?



God protect me from your followers.
Logged

 
Shea
Full Member
***
Posts: 170


View Profile WWW
« Reply #9 on: October 24, 2003, 01:04:17 AM »

hpguru:

When you set the TIF to check for new pages to never, it doesn't allow you to get onto hotmail it says you dont have cookies enabled.




[Shea][-thu]
Logged

[::::::::::::::::::::::::::::::::::::]

¤{=(~•»::[Shea]::«•~)=}¤
hpguru
Hero Member
*****
Posts: 2271


View Profile WWW
« Reply #10 on: October 24, 2003, 02:20:15 AM »

Clear your cache and try it again. That setting has nothing to do with cookies.



God protect me from your followers.
Logged

 
Shea
Full Member
***
Posts: 170


View Profile WWW
« Reply #11 on: October 24, 2003, 04:38:00 AM »

But when I put that setting to automatic it started working again. Its wierd but I'll try that.




[Shea][-thu]
Logged

[::::::::::::::::::::::::::::::::::::]

¤{=(~•»::[Shea]::«•~)=}¤
YoKenny
Full Member
***
Posts: 150


View Profile
« Reply #12 on: October 30, 2003, 11:16:23 PM »

Another IE tweak site.   Have not read through much of it yet so have not learned anything new.  [-ibe]
http://www.techspot.com/tweaks/ie6/
Logged

 
garcot
Newbie
*
Posts: 4


View Profile
« Reply #13 on: July 29, 2004, 12:32:05 PM »

Hi HP Guru,

Can you please teach me, how to inject the 2 lines of script into my WinXP machine? It would be helpful, if you can post in the form of a  .vbs file?
"window.offscreenBuffering=true;\n
window.onerror=function() { return true; }\n "


Thanks
Garcot

Garcot
Logged

Garcot
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!