Current time: 03-30-2020, 06:18 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fastest method to identify user agent
04-16-2013, 03:25 AM
Post: #2
RE: Fastest method to identify user agent
A user agent match in your web server config is going to be the fastest way to do it. That way the server can do the redirect without having to start up a cgi process of any kind (how you do it differes depending on the server - apache, nginx, etc).

It also somewhat depends on how complicated you need to be in detecting the browser. Something like "Mobile" vs "Desktop" can be a crazy exercise to do and there are entire databases that are devoted to maintaining the UA strings for the devices.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Fastest method to identify user agent - pmeenan - 04-16-2013 03:25 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)