Support » Plugin: Cache Enabler - WordPress Cache » Mobile theme support – Is there any way?

  • Hi,

    First of all, I would like to thank the team at KeyCDN for giving the community this simple, lightweight yet powerful plugin. It really did improve my TTFB and consequently page load times.

    Unfortunately, I have different header layouts for desktop vs mobile versions. I understand from your documentation that this isn’t recommended. The cache isn’t bypassed in my case as I’m not using any of the plugins mentioned.

    Problem is, I really want to continue using your plugin 🙂 My theme has a header builder which can be customized according to desktop/mobile. Since the header builder did mention a ‘post number’, I tried excluding the caching using the ‘Page ID’ method described without success 🙁

    I’m hopeful that your team can offer a solution.

    Many thanks!

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

    Unfortunately, this is not currently possible. Cache Enabler does not create separate cached versions for desktop/mobile. Instead we recommend using a responsive template so that there is only one cached version of a page.

    Thanks for the reply.

    Will it be possible to not serve the cache when a mobile device is detected? That would also solve the problem

    That is not currently on the roadmap. However if you’re comfortable with working in PHP you might be able to use the bypass_cache filter to bypass the case in this instance. Here is another thread discussing the filter: https://wordpress.org/support/topic/filters-bypass_cache-not-working/

    Unfortunately we cannot provide dedicated support on this though as each setup is different.

    Understandably so. Since I’m not familiar with PHP level customizations, it’s not an option for me at this point in time.

    I guess my best bet is to use a different caching plugin.

    Thank you for your time

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mobile theme support – Is there any way?’ is closed to new replies.