Which version should I use?

James Titcumb edited this page Mar 10, 2016 · 3 revisions

Each release of the Browscap files feature three INI files, a lite, standard and full version. This page will help you decide which you need...

Lite

"lite" version has many UAs totally removed, as well as very minimal fields:

[DefaultProperties]
Comment="DefaultProperties"
Browser="DefaultProperties"
Version="0.0"
Platform="unknown"
isMobileDevice="false"
isTablet="false"
Device_Type="unknown"

Standard

"standard" has the most commonly-used fields, currently:

[DefaultProperties]
Comment="DefaultProperties"
Browser="DefaultProperties"
Browser_Maker="unknown"
Version="0.0"
MajorVer=0
MinorVer=0
Platform="unknown"
isMobileDevice="false"
isTablet="false"
Crawler="false"
Device_Type="unknown"
Device_Pointing_Method="unknown"

Full

"full" has all UAs and all fields:

[DefaultProperties]
Comment="DefaultProperties"
Browser="DefaultProperties"
Browser_Type="unknown"
Browser_Bits="0"
Browser_Maker="unknown"
Browser_Modus="unknown"
Version="0.0"
MajorVer=0
MinorVer=0
Platform="unknown"
Platform_Version=unknown
Platform_Description="unknown"
Platform_Bits="0"
Platform_Maker="unknown"
Alpha="false"
Beta="false"
Win16="false"
Win32="false"
Win64="false"
Frames="false"
IFrames="false"
Tables="false"
Cookies="false"
BackgroundSounds="false"
JavaScript="false"
VBScript="false"
JavaApplets="false"
ActiveXControls="false"
isMobileDevice="false"
isTablet="false"
isSyndicationReader="false"
Crawler="false"
CssVersion=0
AolVersion=0
Device_Name="unknown"
Device_Maker="unknown"
Device_Type="unknown"
Device_Pointing_Method="unknown"
Device_Code_Name="unknown"
Device_Brand_Name="unknown"
RenderingEngine_Name="unknown"
RenderingEngine_Version=unknown
RenderingEngine_Description="unknown"
RenderingEngine_Maker="unknown"

Use cases

The intended use cases are:

  • Lite - only very basic detection, most common user agents (e.g. popular browsers, crawlers etc.). As you see, around 56% identification rate ;)
  • Standard - hopefully most people can use this version as it has the most common fields and UAs - fine for usual UA sniffing
  • Full - when you need rigorous detection and capability identification, this is our most comprehensive offering.

Comparison

This comparison from Martin Keckeis helps to illustrate the typical results you might expect from the various files. Please note, this comparison was done with the 6012 version, on 10th March 2016, and is only presented for indicative purposes.

image