According to the documentation, different versions or different code are used for mobile devices and desktop devices. The screen resolution is irrelevant because, according to the documentation, the user agent decides which code is used for which device.
The scope of functions of the OC cache...