Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Wordfence Security

    (@mmaunder)

    Hi,

    The version we’re about to release lets you add exclusions for cookies and user-agents. Would that help?

    Regards,

    Mark.

    Thread Starter BeRKA

    (@zhoberka)

    That would help me.

    But if there are more people having this problem that doesn’t know anything about user-agents, they would still have the same problem. It would be better if it could be automatic in some way.

    Cheers
    /BeRKA

    Plugin Author Wordfence Security

    (@mmaunder)

    Ok so I’ve investigated this and we have added support for Jetpack mobile theme. Here’s how it works.

    Non-mobile pages will be cached.

    Mobile pages will not be cached.

    We’re doing this by hooking into the ‘mobile_setup’ action that is defined in:

    modules/minileven/minileven.php line 189 in Jetpack 2.9.3.

    We simply define a constant to tell Wordfence to not cache the mobile page.

    I would have liked to cache desktop AND mobile pages, but we can’t do that because Jetpack’s browser detection is complex and we can’t replicate that in .htaccess rules.

    If you would like a mobile theme that can be cached for desktop AND mobile users I recommend getting a responsive theme that switches to mobile within the browser and not on the server.

    This feature (support for Jetpack mobile theme) will be in Wordfence 5.0.8 which will be released in approximately 6 days.

    Regards,

    Mark.

    Thread Starter BeRKA

    (@zhoberka)

    Great news! Thanks!

    Cheers
    /BeRKA

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jetpack Mobile theme gets cached’ is closed to new replies.