KNOWN_LIMITATIONS.md
Known limitations
mobile devices. Implicitly other devices are considered to be desktop.Desktop mode, the Mobile Detect script has no indicator (eg. a group of strings) that would allow it to detect that the device is mobile.Request Desktop Website setting. See details and possible workaround #820
2.x is made to be PHP 5.3 compatible because of the backward compatibility changes of PHP.User-Agent, the device class baked into the first cached response is delivered to everyone — PHP (and Mobile Detect) never run on a cache hit. This is an architectural property of full-page caches, not a bug in this library, and applies equally to any server-side branching (geo redirects, A/B tests, header-based locale, etc.). Known examples reported against this project:
Vary: User-Agent if the CDN honors it, classify UA at the edge (Cloudflare Workers, Akamai EdgeWorkers, Vercel Middleware) and use the result as part of the cache key, or move device-specific logic client-side.