Your Cache by Device Type documentation appears to be out of date and needs a refresh. For example, many of the plugins listed here are no longer active. Also, would be great to review other cache/performance plugin to determine if they should listed as well.
The plugin, SG Optimizer, offers a Browser-Specific Caching option. Should we enable this option when using Cloudflare APO Cache by Device Type?
Thanks for bringing that up. I’ll escalate this so that developers and documentation folks have a look.
Hmm… how does that work? Unless the plugin changes the URL, which is highly unlikely, the answer is no. If SG Optimizer creates separate cache keys based on browser, this will cause the request from the first visitor for a given URL to be cached by APO at the edge, and be served to all subsequent visitors regardless of their browser. And if SG Optimizer adds a cookie, it may lead APO to treat that URL as dynamic. Have you tested?
Enabling the Browser-specific caching will create different cache versions based on the user agent used.
From what we’ve seen (via testing), SGO assigns a “query-string” of some type to each individual cached file for each device type.
In any case, we just finished testing their feature and have determined it offers no gain when Cloudflare APO’s Cache by Device Type option is activated.