Archived topic
inconsistent mobile friendly test
11 replies · Started by Julee Kanarad on April 13, 2018
Please look on the picture.
https://drive.google.com/open?id=1v55cAfxiAJdSZyGrPnEQUPg4rVJkobgu
Thank you.
Hi there,
Looks like a caching plugin issue.
Disabling should fix it.
Let me know.
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.
I have tried to disable cloudflare , but ploblem still appear.
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.
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.
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?
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>
It still happen
l disheartened.
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.
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.
Great to hear! :)