Forum Discussion

Piyush_72418's avatar
Piyush_72418
Icon for Nimbostratus rankNimbostratus
Dec 17, 2009

irule to serve diff. home page to user based on client network connection

Hi Friends,

 

 

Is there a way on F5 BigIP - by using some iRule hack to serve diff. home page to user if he/she is on a slower connection..??

 

 

there are other ways like using JS to determine the connection speed and then send the different web page..

 

 

I need this on F5 BigIP - because that would make it quicker for user to determine the slow connection and in case user is on a slow connection - I want to serve a different web page or land the user request on diff. pool of servers.

 

 

Any ideas / suggestions welcomed please...

 

 

Thanks

 

Piyush

 

http://piyush.me

2 Replies

  • Ques :- would I be able to determine the connection speed of user (client) on F5 BigIP..??
  • Hi Piyush,

     

     

    There is (or used to be in some versions) and bandwidth command (TCP::bandwidth Click here) which could be used to estimate the client connection speed. But apparently this has been removed as of 9.4.2. You might try opening a case with F5 Support to find out why the command was deprecated and whether there are any plans to provide similar functionality in a future version.

     

     

    If you figure out a way to gauge the client connection speed with Javascript, you could use HTTP::respond (Click here) to send the Javascript.

     

     

    Aaron