title: How to detect slow internet connections?
body: <p>Currently, most of the popular websites, like google, yahoo detect if the user connection speed is slow and then give a option to load basic version of the website instead of the high end one.</p>
  
  <p>What are the methods available to detect slow internet connections?</p>
  
  <p><sub>P.S. I think this is achieved through javascript, so I will tag it as a javascript question? However, I am looking for answers oriented more towards PHP, if this is also server related.</sub></p>