Home Forums WoodMart support forum Mobile DOM optimization (experimental)

Mobile DOM optimization (experimental)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #283546

    metuza
    Participant

    Hello,

    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
    Rune

    #283566

    Artem Temos
    Keymaster

    Hello,

    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

    #283576

    metuza
    Participant

    Hello,

    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
    Rune

    #284167

    Artem Temos
    Keymaster

    Hello,

    OK, send us a link to the page when you will face this problem again. We will check from our side too.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)