PDA

View Full Version : Tips and Tricks to improve your browsing experience at DotSiS


Xenophile
07-13-2007, 08:39 AM
A warm welcome to all members.

I am sure you all must have noticed a drop of browsing speeds while browsing at DotSIS. So have we! This has been attributed to a high server load. Our DotSIS servers are designed to handle about 800-1000 users at any point of time. However, over time, as the popularity of DotSIS increased, so has the number of users browsing the site. As of now,at any given point of time,there are 1400+ users browsing away at DotSIS, stretching the servers to its limits, and hence, giving rise to a slow browsing experience.

The Administrators at DotSIS have been notified of this, and, action to rectify this will be taken shortly, till then, here are some tips and tricks that are sure to improve your browsing experience, not only at DotSIS, but, throughout the WWW.

Before we start, my profound thanks goes out to our moderator azlan1 (http://www.dotsis.com/mobile_phone/member.php?u=88328) for compiling these tips and tricks for all of us.

So lets start.

*First and foremost, get rid of Internet Explorer. Its the worst, slowest and most insecure I (SSGupta) have come across. That leaves with us, the other two browser kings, Opera and Firefox. We are recommending that you switch to Firefox because of its large number of add-ons and its very flexible properties. Firefox can be download here (http://www.mozilla.com/en-US/firefox/)

*Now, after you get your copy of Firefox, you will need an add-on known as Fasterfox. (I am sure that many of you know that configuring via "about:config" is better, but, for most users, its tedious. Therefore, more on that later.Fasterfox can be downloaded here (https://addons.mozilla.org/en-US/firefox/addon/1269). After Fasterfox downloads and installs, then, let it configure itself. After that, you should see a marginal (Sometimes imperceptible, but, very useful nonetheless) improve in browsing speeds.

*Now, the next add-ons we are talking about are the best add-ons ever. (They were reason enough for me to switch to Firefox from IE7 and Opera9).Now, we are talking about an add on called NoScript. This prevents Scripts from running (This includes Flash Scripts, Java Scripts,Website Scripts and executable contents).NoScript can be downloaded here (https://addons.mozilla.org/en-US/firefox/addon/722).NoScript has been tested by industry experts and all agree to the fact that it makes browsing safer.

A word of caution here, although NoScript is a great Add-On, sometimes, it blocks desirable scripts also. Therefore, on some sites, you will have to set "Allow Site www.xyz.com (http://www.xyz.com).

For DotSiS.com, you will have to set it to "partially allow scripts." by clicking on "Options" (See the Screenshot)

http://img404.imageshack.us/img404/303/dotsisscrnshot1hp3.png

http://img292.imageshack.us/img292/1292/dotsis1cj7.png
(Screenshots courtesy azlan1)

The reason for this is that the Search Function, The reputation function and the PM Notification functions, and, Read Receipt systems are designed in Javascripts. Thus, if not activated, it will make the experience worse. We dont that, do we? ;)

Now, you will see for certain sites, you wont be able to browse properly using NoScript. (EG: Orkuts Scrap Reply function wont work). Now,for such sites, click on the No Script icon. You will see a list of sites whose scripts are blocked.You will have to allow the scripts of the site. (EG: In Orkut, Scripts from Orkut.com and Google-Analytics.com are blocked. Now, we know that Google-Analytics are responsible for ads, but, orkut isnt. So, you will have to allow scripts from Orkut, but, not from Google Analytics). This principle applies to all websites.

To conclude NoScript, if you see that its hindering your browsing experience, click on options and click "Temporary Allow". Its the best possible solution to all problems.

*The final add-on to make your browsing experience the best ever is Ad-Block Plus. It will block all Flash Ads, Banners, everything. You have the option to subscribe to sites which regularly update "Ad-URLs". And, you can also manually block an image by right clicking on it and selecting "Adblock Image".
AB+ can be downloaded here (https://addons.mozilla.org/en-US/firefox/addon/1865)

This concludes the "Automated" tips and tricks section using Firefox.Try it out. I am sure it will improve your browsing experience throughout the web, not just on DotSIS.

For a description of Manual Tweaks that can be applied to firefox to further improve the browsing experience,check out the next post.

Xenophile
07-13-2007, 09:05 AM
The automated add-ons listed above are good enough to improve ones browsing experience. However, Power users would like to squeeze out every bit of bandwidth (speed) possible from their internet connections. So, read on to tweak firefox so that it suits your computer type and connection the best.

My Profound thanks to rockylinux (http://www.dotsis.com/mobile_phone/member.php?u=43073) for providing us with the manual configuration tweaks of firefox.

Firstly, disconnect from the internet. Open Firefox and type about:config in the address bar.This will open the config page at Firefox.

http://www.hostingfiles.net/files/20070712083818_2007-07-12_202741.jpg
(Screenshots courtesy rockylinux)

Common Settings:

These settings apply to all computers and connections.

"network.http.pipelining", true
"network.http.proxy.pipelining", true
"network.http.pipelining.maxrequests", 8
"content.notify.backoffcount", 5
"plugin.expose_full_path", true
"ui.submenuDelay", 0

Before we get to User Specific settings , we will need another add-on known as Tamperdata. That can be downloaded here (http://tamperdata.mozdev.org/).

Now, in the about config window, Right click on it, Then, click on "New" (Nuevo) >> "Integer" (Intero) >> name the Parameter as content.max.tokenizing.time. Allot the value as per your scenario below. (Mostly, its value is 2250000 for almost all scenarios)

http://www.hostingfiles.net/files/20070713070604_2007-07-13_064123.jpg

http://www.hostingfiles.net/files/20070713070717_2007-07-13_064812.jpg

http://www.hostingfiles.net/files/20070713070817_2007-07-13_064849.jpg

If done correctly, the new value should be seen like this:

http://www.hostingfiles.net/files/20070713070929_2007-07-13_064918.jpg
(All screens courtesy rockylinux)

User Specific Settings:

Now, listed below are different types of scenarios.Choose your scenario and tweak away accordingly.

Fast Computer Fast Connection

content.interrupt.parsing", true
content.max.tokenizing.time", 2250000
content.notify.interval", 750000
content.notify.ontimer", true
content.switch.threshold", 750000
nglayout.initialpaint.delay", 0
network.http.max-connections", 48
network.http.max-connections-per-server", 16
network.http.max-persistent-connections-per-proxy", 16
network.http.max-persistent-connections-per-server", 8
browser.cache.memory.capacity", 65536

A couple settings of note... Firefox is allocated 4096 KB (4 MB) of memory by default and in this configuration we give it roughly 65MB as denoted by the last line. This can be changed according to what is used. (For allotting 65 MB, make sure you have 768 MB of RAM minimum. Else, allocate 28 MB (28672 K)

Fast Computer, Slower Connection

This configuration is more suited to people without ultra fast connections. We are not talking about dial up connections but slower DSL / Cable connections.

content.max.tokenizing.time", 2250000
content.notify.interval", 750000
content.notify.ontimer", true
content.switch.threshold", 750000
network.http.max-connections", 48
network.http.max-connections-per-server", 16
network.http.max-persistent-connections-per-proxy", 16
network.http.max-persistent-connections-per-server", 8
nglayout.initialpaint.delay", 0
browser.cache.memory.capacity", 65536

Fast Computer, Slow Connection

browser.xul.error_pages.enabled", true
ontent.interrupt.parsing", true
content.max.tokenizing.time", 3000000
content.maxtextrun", 8191
content.notify.interval", 750000
content.notify.ontimer", true
content.switch.threshold", 750000
network.http.max-connections", 32
network.http.max-connections-per-server", 8
network.http.max-persistent-connections-per-proxy", 8
network.http.max-persistent-connections-per-server", 4
nglayout.initialpaint.delay", 0
browser.cache.memory.capacity", 65536

Slow Computer, Fast Connection

content.max.tokenizing.time", 3000000
content.notify.backoffcount", 5
content.notify.interval", 1000000
content.notify.ontimer", true
content.switch.threshold", 1000000
content.maxtextrun", 4095
nglayout.initialpaint.delay", 1000
network.http.max-connections", 48
network.http.max-connections-per-server", 16
network.http.max-persistent-connections-per-proxy", 16
network.http.max-persistent-connections-per-server", 8
dom.disable_window_status_change", true

One of the changes made for this particular configuration is the final line where the status bar is disabled for changing web pages to save processor time.

Slow Computer, Slow Connection

We have entered the doldrums of the dial-up user <Sigh!>

content.max.tokenizing.time", 2250000
content.notify.interval", 750000
content.notify.ontimer", true
content.switch.threshold", 750000
nglayout.initialpaint.delay", 750
network.http.max-connections", 32
network.http.max-connections-per-server", 8
network.http.max-persistent-connections-per-proxy", 8
network.http.max-persistent-connections-per-server", 4
dom.disable_window_status_change", true

This concludes the manual tweaking session of Firefox. We hope that you do get a better browsing experience by using these steps posted in these two steps.

Any questions,comments,bouquets and brickbats can be addressed to any DotSiS Moderator via PM (Private Message)

We, the staff at DotSiS, wish you a pleasant browsing experiece, and look forward to your continued co-operation in the server issue.

With Best Regards
DotSiS Staff.

Xenophile
08-09-2007, 03:05 PM
If you members have anything to say on this issue, please PM any of the moderators of the site.

This thread locked to prevent untoward comments.