WP Mobile Detect
Problem with WP Super Cache (3 posts)

  1. sibarita
    Posted 2 years ago #

    I was trying to use your plugin but this other plugin:


    Does not work properly Super Cache "cache" for example, the value of wpmd_is_android(). How would you solve?

    Thank you!


  2. pako69
    Posted 1 year ago #

    Same issue with Quick Cache Pro
    and same issue with other plugin like: ttp://wordpress.org/support/plugin/mobble
    and, again, same issue with native wordpress function: wp_is_mobile()

    I do not think the author of WP Mobile Detect and other like Mobble plugin can solve this issue, but, in my opinion, this issue have to be solved by cache plugin authors...

  3. pako69
    Posted 1 year ago #

    I had a response from Quick Cache Pro:
    Quick Cache caches via PHP Output Buffering, which means that once a page is generated and cached, any PHP functions on that page will not be evaluated again until the cache is regenerated.

    You have two options here:

    1) You can exclude all mobile devices from being cached by creating a list of mobile device user agents and adding them to Dashboard -> Quick Cache -> User-Agent Exclusion Patterns. This will prevent any mobile devices from being cached and that will allow the Mobble functions to work as expected. Here's a list of User-Agent Exclusion Pattens for most mobile devices:

    iPhone * Mobile
    iPod * Mobile
    Android * Mobile
    BB * Mobile Safari
    BlackBerry * Mobile Safari
    IEMobile/10.0 * Touch

    2) You can ask the plugin developer to support Quick Cache using the Advanced Cache Plugin system provided by Quick Cache. This would allow Mobble to tell Quick Cache to generate separate caches for mobile devices.


    Solution 2 will be the best but I do not think WP Mobile Detect author have some times to do that... ?
    In the meantime i'm using solution 1 (no cache at all for mobile...)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Mobile Detect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.