|
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]
|