Home › Forums › WoodMart support forum › Mobile DOM optimization (experimental)
Mobile DOM optimization (experimental)
- This topic has 3 replies, 2 voices, and was last updated 3 years, 10 months ago by
Artem Temos.
-
AuthorPosts
-
April 16, 2021 at 10:38 am #283546
metuzaParticipantHello,
I have been testing the Mobile DOM optimization (experimental) option for a while now and it is a really great addition to woodmart, it gives a boost i Pagespeed. But i noticed when using it together with caching, WP Rocket and Cloudflare, it seems like if page is visited first from a mobile device then that page get the mobile header also in desktop. And if visited first from desktop the dom size gets bigger in pagespeed.
But this does not happend always, just now and then. And often when it happens you can find several pages with mobile header, and when it is ok it is 100% ok.
So maybe it could be caused by how wp rocket preloads the cache again. It has been very ok after i enabled cache also for mobile, worked ok for many days. But today for some reasons i did find many pages with mobile header.
Brgds
RuneApril 16, 2021 at 11:52 am #283566
Artem TemosKeymasterHello,
Try to clear your browser cache (only browser cache, not WP Rocket) when you visit the page with the desktop. Sometimes, you can see the mobile page if you tested it before by resizing the browser. But it shouldn’t happen to your visitors.
Kind Regards
April 16, 2021 at 12:18 pm #283576
metuzaParticipantHello,
No, I am not using the resizing option. I work logged in using firefox and do all the tests as guest using Edge and Chrome. And when I see the mobile header in some pages in chrome and edge it does not help emptying browser cache or cloudflare cache. But if i just purge wp rocket cache for the actual pages (from firefox) and then visit the pages again in chrome and edge it is all ok.
After emptied all cache and the just watched the visitors in google analyics has helped me find the pages visited by mobile just after cache beeing emptied, and these pages sometimes get the mobile header.
Maybe I should try to deactivate critical css in wp rocket, but also this is enabled to generate and deliver only for mobile devices, deactivated for desktop, but it could be something there.
Brgds
RuneApril 19, 2021 at 6:04 am #284167
Artem TemosKeymasterHello,
OK, send us a link to the page when you will face this problem again. We will check from our side too.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register