• jrunfitpro

    (@jrunfitpro)


    Hi Team,

    First off, great plugin! The only issue I’m noticing is an issue with my theme (Optimize Press 2) and their mobile redirect feature.

    I have a couple desktop pages and mobile versions, and they worked by automatically redirecting until I added Zen Cache.

    Is there anyway to resolve this?

    Thanks

    Jessica

    https://www.ads-software.com/plugins/zencache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • You have a couple of choices here:

    1. You could use the User-Agent Exclusion Patterns option to stop caching for mobile altogether, or

    2. If this concerns just a couple of pages, you could use the URI Exclusion Patterns option to exclude those pages from being cached.

    If you want everything cached for all user-agents, then I’d suggest changing to a responsive theme instead of having different themes for different browser sizes.

    Thread Starter jrunfitpro

    (@jrunfitpro)

    My site is mobile responsive, I just made a couple really important pages ultra mobile friendly. Sorry to be confused, but do you have any screenshots for your recommendations? Not sure what you mean.

    Thanks,

    Justin

    Screenshots don’t work here. But, if you tell me which option you want, I’ll explain what you need to do step by step.

    Thread Starter jrunfitpro

    (@jrunfitpro)

    Thank you for your help. How about option 2?

    Also, do you have any good basic optimization tips beyond this? I know images and reducing plugins, but is there anything else I can do?

    Thanks,

    Justin

    OK. For option 2, have a look at the URLs of your “ultra mobile friendly” pages. Do they share an element between / signs? Perhaps, for example, they both have /photo/ in the URL.

    If they do share such an element, type that into the box at Zen Cache -> URI Exclusion Patterns. Then hit Save All Changes at the bottom of the page.

    If they don’t share an element, copy and paste the URL for each page into that box, but leave out the https:// and domain name in each case. So, if one of your pages was at https://www.mysite.com/photo/bluesky, you’d just paste in /photo/bluesky

    As for further tips, there are three other things you could consider. One is “auto-caching.” Normally, a page is cached only when someone goes to it for the first time. This means that the first person gets a slow page load. But, if you use a plugin that generates an xml sitemap and the right caching plugin, you can have pages auto-cached, so that they will load faster for everyone.

    Secondly, if you have logged-in users, they won’t normally see cached pages at all. You need a special caching plugin to make that feasible without causing other problems.

    Thirdly, you can create compressed (or minified) html. That means taking out all the spaces from relevant code, which means it can be processed faster.

    All three options are available with the Pro version of Zen Cache.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue With Theme's Mobile Redirect Feature’ is closed to new replies.