WordPress.org

Ready to get started?Download WordPress

Forums

Hyper Cache
Mobile cache issue (9 posts)

  1. evo252
    Member
    Posted 1 year ago #

    Hi,

    I have a mobile cache issue with Hyper Cache. When the first visitor comes from mobile (e.g my iPhone), then if I load my blog on my computer it's loading the mobile version of my site (little thumbnails rather than big thumbnail).

    I'm using a responsive WordPress theme that serves different image sizes according the device (if mobile -> little featured images, if computer -> big featured images).

    The "Detect mobile devices" option is enabled, the "WordPress Mobile Pack" disabled, and I never modified the Mobile agent list.

    Do you know how to fix this issue?

    Thank you!

    http://wordpress.org/extend/plugins/hyper-cache/

  2. mbrsolution
    Member
    Posted 1 year ago #

    Hi, it looks like there is a conflict with your theme and the plugin. Are you running the latest version of the theme?

    I am using a free theme with WPtouch plugin and works great for me.

    Kind regards

  3. evo252
    Member
    Posted 1 year ago #

    Yes I have the latest version. Where do you think can I investigate to fix the problem?

  4. mbrsolution
    Member
    Posted 1 year ago #

    Hello, what theme are you using? You mentioned above responsive, is that the theme you are using?

  5. evo252
    Member
    Posted 1 year ago #

  6. mbrsolution
    Member
    Posted 1 year ago #

    Hi unfortunately I can't check your theme because it is a commercial theme. What settings have setup for Hyper Cache? If after adjusting the settings you can't get it work you might have to report it to your theme developers. They might find a solution for you.

    Kind regards

  7. evo252
    Member
    Posted 1 year ago #

    Thanks for your help. I think author of the theme will not fix my problem. Do you know if I can execut a PHP function to disable caching? I'd like to execut this function:

    if ( wp_is_mobile() ) {
    DO NOT CACHE and do not display pages that have been cached
    } else {
    ALLOW CACHING
    }

    Thanks

  8. mbrsolution
    Member
    Posted 1 year ago #

    Hello have you tried that function yet?

    Also you might like to try the following website.

    Kind regards

  9. evo252
    Member
    Posted 1 year ago #

    OK I think I have found the problem: I'm trying to use the mobile feature of Hyper Cache on a responsive template, and not on a separate mobile theme. In fact, the plugin doesn't support separate mobile cache for responsive template. So I'm obliged to disable serving different image sizes according the device (that is improving performance and fast loading) and serve the same homepage for all devices if I want still to use Hyper Cache, untill author of the plugin decides to implement a separate cache even for same template but with different thumbnail sizes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic