Redirect to a certain page based on connection speed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ApexOfZilch
    New Member
    • Dec 2012
    • 1

    Redirect to a certain page based on connection speed

    I'm not sure if there is any way to even do this with javascript, but basically what I need to have is a way to detect a visitors connection speed and redirect them to either a page with 1 large animation, 3 animations, 5 animations etc based on how many they can load in 30 seconds.

    I don't want the user to have to manually select what they think their connection speed I just want to have it redirect them automatically in the background, can this be done?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    1) Use AJAX to load a file of a known size.
    2) Measure how long that takes.
    3) Redirect as appropriate.

    Comment

    Working...