User agents and desktop/mobile page cache
-
Hi, I’m using
if (preg_match(‘/iPhone|android/’, $_SERVER[‘HTTP_USER_AGENT’]))
to display some content in desktop and other in mobile devices.I’ve enabled a user agent group with “Pass through”, adding iphone and other agents.
For most pages it works well, but yet some pages are cached with desktop version for mobile and mobile version for desktop.
I’ve tried to empty caches several times.Thanks
- The topic ‘User agents and desktop/mobile page cache’ is closed to new replies.