PDA

View Full Version : choosing style according to net speed


Say3
10-05-2008, 11:44 AM
hi , i'm looking for automated test speed then choosing style , for example :

net speed Style

28kbps and less redirect to /?sytleid=#1 when Style #1 " no hacks , no ads , very fast"

28kbps <> 56kbps redirect to /?sytleid=#2 when Style #2 "fast but with some ads "

more than 56kbps redirect to /?sytleid=#3 when Style #3 " Ads , Mods , Graphical "



this is my idea ,

for exampel when I have domain :

www.test.com

forum path is :

www.test.com/forums

& i have index.htm in my forums dir , when i visit my forums dir it checks my speed silently and redirect me to the chosen style .

for Example :

https://vborg.vbsupport.ru/external/2008/10/13.gif Please wait while checking your speed https://vborg.vbsupport.ru/external/2008/10/13.gif

any body can do that for me plz ?

Sorry for my bad English :(

Say3
10-08-2008, 02:56 AM
:( :(

FreshFroot
10-09-2008, 01:49 AM
I think the main issue here is calculating the speed.

Most people use a speed tester, which shows their speed and stats. I doubt that can be done without a script and on 1st time impression.

dinnerbone
10-09-2008, 07:29 AM
This would be incredibly hard to pull off. The only way to automatically find out a users speed is to test how long it takes to download a file, which is an inefficient test as it could be effected by so many different influences (Server load, if they're downloading anything at the time, browser/download manager issues, etc)
Once it has the speed estimated, they could also start downloading a file slowing it down later or their connection might randomly burst to a higher speed, which would mean you have to retest it every few page loads - this would put a high strain on your servers bandwidth, effecting other peoples test too.

The simplest solution is just to let them pick themselves. In the end, only they actually know how fast they're browsing at.