You are here: Re: Bandwidth auto detect for determing type of site to load: Flash or HTML « HTML « IT news, forums, messages
Re: Bandwidth auto detect for determing type of site to load: Flash or HTML

Posted by Travis Newbury on 11/10/06 10:45

z.heineman@gmail.com wrote:
> We are looking to update our website to a flash based layout, but we do
> not want to loose customers because of long load times. I am hoping
> someone can inform me of a way to have the webserver determine the
> clients connection speed and decide whether to load a Flash or HTML
> website (lite version). Is this possible?.

Not like you at thinking. One way we use is with javascript, so it
will not work for all your visitors. But the basic idea is this:

You start a timer in Javascript. You then have a 1k (1024 byte)
comment, then you check the timer again. The amount of time that has
passed will allow you to tell how fast the user was able to download
the 1024 byte comment. This will give you an approximation of the
speed they are connected.

Before everyone jumps all over my ass, no, this is not perfect. But it
will give you an indication.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация