Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    I have the same problem.

    I use Mobile-Detection (https://github.com/serbanghita/Mobile-Detect)to display slider only on tablet and desktop.
    On smartphones a static graphic to be used, but here the slider appears and leads to problem with the layou.

    Regards

    Marc

    Ok I just found the setting for UA detection in Wordfence.

    You find it under plugin setting “Site Performance” below the headline
    “You can add items like URLs, cookies and browsers (user-agent) to
    exclude from caching”.

    Set the following Settings:
    If the “User-Agent contains” (without quotes): “Mobile” then do not cache it.

    this disables caching for mobile devices. there are also other options you can add.

    i hope it help you too.

    greeting Marc

    Thread Starter GizmoBolt

    (@gizmobolt)

    Yes I added these settings as told by WpTouch PRO Support. But sadly it disables cache in mobile version which is very well needed.

    If the User-Agent contains (without quotes): “Touch” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “Nexus 7” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “SCH-I800” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “P160U” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “Xoom” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “PlayBook” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “iPad” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “MSIE 10.0” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “IEMobile/10.0” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “IEMobile/9.0” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “IEMobile/7.0” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “webOS” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “BlackBerry” then don’t cache it. [remove exclusion]
    If the URL starts with (without quotes): “BB10” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “Android” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “iPod” then don’t cache it. [remove exclusion]
    If the User-Agent contains (without quotes): “iPhone” then don’t cache it. [remove exclusion]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mobile View appearing in Desktop View’ is closed to new replies.