Accelerated Domains

  • Can I use Accelerated Domains when using Cloudflare?

    Yes, you can still use Accelerated Domains when your domain’s DNS is handled by Cloudflare.

    You just need to keep in mind that when setting up your DNS records, you can’t set records to proxy through Cloudflare (when proxied, the cloud is orange), because this doing so would give you a Cloudflare routing error.

    In the picture below, you can see that under “Proxy status”, the cloud is gray, which means that requests will not be proxied through Cloudflare, but will correctly be routed directly to the Accelerated Domains routing endpoint.

  • I’m seeing mobile version on desktop, why?

    If you are using Accelerated Domains™, and see a mobile version of your site while browsing using a larger screen (or the other way around), you are probably using some sort of device sniffing in PHP, either in a custom function or something like wp_is_mobile(). This is unsafe for most caching setups, including the default Servebolt cache and Accelerated Domains.

    See Using wp_is_mobile() together with Accelerated Domains for more details