Mobile content shows on desktop
-
Hi,
I’m using the Avada theme on a SiteGround server.
Previously, I was using SiteGround’s Speed Optimizer plugin, but my PageSpeed Insights scores were quite low. I noticed that Avada recommends W3 Total Cache, so I switched to W3 Total Cache. After switching, my PageSpeed Insights scores improved significantly.
However, I’m now having a serious issue with device-specific content rendering.
I’m using Avada’s Rendering Logic to display different content for desktop and mobile:
- Device type = Desktop
- Device type ≠ Desktop (for mobile)
The problem is:
- After I purge the cache, if the first visit is from a desktop device, then mobile users will see the desktop version.
- If the first visit after purge is from a mobile device, then desktop users will see the mobile version.
It seems that W3 Total Cache is generating only one cached version per URL, and it’s not properly separating desktop and mobile cache.
I have already tried:
- Performance → Cache Groups → Manage User Agent Groups
- Setting both Tablets and Phones to “Pass Through”
- Setting only Phones to “Pass Through”
- Setting only Phones to “Avada Child”
None of these configurations solved the issue.
Can you help? Thanks!
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.