• Resolved shreeshchandra

    (@shreeshchandra)


    Hi,
    Can you please explain how to set up the caching separately for mobile and desktop?
    We were using the Uber Menu plugin for our website and we set different styles for desktop as well as mobile. but due to the caching, the same setting for the desktop is visible over the mobile which is not good.
    Please help us in that case.
    This is an alternate Email ID:
    [email protected]

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @shreeshchandra

    Thank you for reaching out and I am happy to assist you with this

    For this, you can use User Agent Groups and make sure that a unique cache is created for each user agent.
    In Performance>Cache Groups>Manage User Agent Groups, you can Create (or simply enable the existing) a group of user agents by specifying names in the user agents field. Assign a set of user agents to use a specific theme, redirect them to another domain, or if an existing mobile plugin is active, create user agent groups to ensure that a unique cache is created for each user agent group. Drag and drop groups into order (if needed) to determine their priority (top -> down).
    If you are not using any AMP, the only thing that you need to do is Enable both Groups (High and low), and select the theme that you are using in the dropdown menu to ensure that a unique cache is created for each user agent group. Drag and drop groups into order (if needed) to determine their priority (top -> down).

    The two default User-Agent Groups are covering all notable groups. If you wish to add any other you can do so by Specifying the user-agents for these groups. Remember to escape special characters like spaces, dots, or dashes with a backslash. Regular expressions are also supported.
    Make sure to save all settings and purge the caches once the groups are enabled.

    I hope this helps!

    Thread Starter shreeshchandra

    (@shreeshchandra)

    Hi,
    One more question I have if we use the same theme for both mobile and desktop then, in that case, what do we select from the Themes drop-down options.

    Thanks,
    Pooja Mhatre

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @shreeshchandra

    Thank you for your feedback.
    If you are using the same theme you should select the theme you are using. As most themes are used both for Mobile and Desktop, I assume that the theme is mobile responsive so you should select the theme you are currently using.
    Please make sure to save all settings and purge the cache.
    Thanks!

    Thread Starter shreeshchandra

    (@shreeshchandra)

    Thank you so much for your reply. I’ll apply these changes over my website & let you know

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Set up the caching separately for mobile and desktop’ is closed to new replies.