• Hi, what about wp_is_mobile compatibility with SG CachePress dynamic caching?
    Developing a site with a strong mobile element, unfortunately, the version that is stored first is displayed on both desktop and mobile.

    There’s a way to solve this situation?

    Rack your brains ??
    Thanks so much

Viewing 1 replies (of 1 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    You can have separate cached copies of your website. This way you will have both mobile and desktop caches. Actually, a bit more but that’s not important. You need to add the “Vary: User-Agent” header to your site. Here’s a site that explains it and how to generate the header: https://varvy.com/mobile/vary-user-agent.html

Viewing 1 replies (of 1 total)
  • The topic ‘wp_is_mobile compatibility’ is closed to new replies.