Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] inconsistent mobile friendly test

Home Forums Support [Resolved] inconsistent mobile friendly test

Home Forums Support inconsistent mobile friendly test

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #549727
    Julee Kanarad

    Please look on the picture.
    https://drive.google.com/open?id=1v55cAfxiAJdSZyGrPnEQUPg4rVJkobgu

    Thank you.

    GeneratePress 2.0.2
    GP Premium 1.6.2
    #549760
    Leo
    Staff
    Customer Support

    Hi there,

    Looks like a caching plugin issue.

    Disabling should fix it.

    Let me know.

    #549932
    Julee Kanarad

    l tried to disable WP Rocket but problem still appear.

    I use Cloudflare CDN and clear all cache.

    * Can you check that problem come from Robots.txt , Cloudflare ?

    Thank you.

    #549933
    Julee Kanarad

    I have tried to disable cloudflare , but ploblem still appear.

    #549961
    Julee Kanarad

    https://drive.google.com/open?id=18lY_vVB2KK7i9KwOVCC6RVaoCNKUVvWo

    I have try to disable this from Generatepress it better , l have test 5 time mobile friendly good

    l will report you later.

    Thank you.

    #549967
    Julee Kanarad

    Sorry but it still happen. , l think because robots.txt
    because l have to tried many thing
    disable all cache , disable all minify , disable cloudflare.

    #549990
    Tom
    Lead Developer
    Lead Developer

    That can happen when the CSS isn’t loading, which is usually due to caching, as Leo suggested.

    Is there any built in server caching?

    I just checked on my phone – all loaded fine. It also passed the Google mobile test.

    How often are you finding it’s failing?

    #550075
    Julee Kanarad

    l have contact server to disable builtin caching

    he came to my server then change code on my .htaccess file

    and l have check 3 time today don’t found problem.

    Here is my current .htaccess

    RewriteEngine On

    RewriteRule ^(.*)$ https://forexnew.org/
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # LBROWSERCSTART Browser Caching
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType text/javascript “access 1 month”
    ExpiresByType text/html “access 1 month”
    ExpiresByType application/javascript “access 1 month”
    ExpiresByType application/x-javascript “access 1 month”
    ExpiresByType application/xhtml-xml “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresDefault “access 1 month”
    </IfModule>
    # END Caching LBROWSERCEND

    # Wordfence WAF
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>
    # END Wordfence WAF

    <Files *>
    Header set Cache-Control: “private, pre-check=0, post-check=0, max-age=0”
    Header set Expires: 0
    Header set Pragma: no-cache
    </Files>

    #550157
    Julee Kanarad

    It still happen
    l disheartened.

    #550376
    Tom
    Lead Developer
    Lead Developer

    Does it still happen even without all of that .htaccess caching?

    The issue here is definitely cache related, so if you ditch that caching, it should stop.

    #550913
    Julee Kanarad

    l take more than 20 hour to solve this problem now it done.

    l found the cause , that because my site have heavy css , l build site by Elementor and lt include a lot of css

    when l use plugin optimize css delivery the problem is gone.

    Thank you.

    #551023
    Tom
    Lead Developer
    Lead Developer
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.