Mobile Performance Issue with LiteSpeed Cache on Google PageSpeed Insights
-
Hello everyone,
I recently installed the LiteSpeed Cache plugin on my WordPress site to enhance performance. However, I am facing a specific issue when evaluating mobile performance on Google PageSpeed Insights.
Problem:
- On the desktop version of Google PageSpeed Insights, my site achieves an impressive score of 99%, which is excellent.
- However, on the mobile version, the score is 0%, which is highly concerning.
Actions Taken So Far:
- I have made several configuration changes in LiteSpeed Cache to try to resolve this issue, but the results remain unchanged.
Questions:
- Has anyone else experienced a similar issue with LiteSpeed Cache and mobile performance on Google PageSpeed Insights?
- Are there specific configurations or settings that I might have missed that could be causing this discrepancy?
https://www.litespeedtech.com/support/forum/attachments/res-1-png.3369
https://www.litespeedtech.com/support/forum/attachments/res-2-png.3371/
- This topic was modified 1 year ago by bekwell maroc.
- This topic was modified 1 year ago by bekwell maroc.
The page I need help with: [log in to see the link]
-
The sources of your site have “mixed” content. Mixed means that not all sources use the same HTTP method and there are sources that are linked via http instead of https. Correct this error and try again.
Use browser dev console to verify what is wrong.
please provide the report number
you can get it in toolbox -> report -> click “send to LiteSpeed”
Hello everyone,
I haven’t seen any improvement in the specific problem I’m encountering.
Problem:
- On the desktop version of Google PageSpeed Insights, my site achieves an impressive score of 99%, which is excellent.
- However, on the mobile version, the score is 0%, which is highly concerning.
Actions Taken So Far:
- I’ve made several configuration changes in LiteSpeed Cache to try to resolve this issue, but the results remain unchanged.
[Link to your site: https://www.bekwellmaroc.com]
@qtwrk
Server Variables
SERVER_SOFTWARE = LiteSpeed
HTTP_X_LSCACHE = on,esi,crawler,combine
DOCUMENT_ROOT = /home/u885621263/domains/bekwellmaroc.com/public_html
X-LSCACHE = on,crawler,esi,combine
LSWCP_TAG_PREFIX = 9e1
WP_SITEURL = NULL
WP_HOME = NULL
WP_CONTENT_DIR = /home/u885621263/domains/bekwellmaroc.com/public_html/wp-content
SHORTINIT = false
LSCWP_CONTENT_DIR = /home/u885621263/domains/bekwellmaroc.com/public_html/wp-content
LSCWP_CONTENT_FOLDER = wp-content
LSCWP_DIR = /home/u885621263/domains/bekwellmaroc.com/public_html/wp-content/plugins/litespeed-cache/
LITESPEED_TIME_OFFSET = 3600.0
LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ADC
LITESPEED_CLI = NULL
LITESPEED_ALLOWED = true
LITESPEED_ON = true
LSWCP_TAG_PREFIX = 9e1
COOKIEHASH = e462947d87456488cc93db5f814ad9d8 Wordpress Specific Extras
wordpress version = 6.4.1
siteurl = https://bekwellmaroc.com
home = https://bekwellmaroc.com
home_url = https://bekwellmaroc.com
locale = fr_FR
active theme = Avada
active plugins = array (
0 => 'akismet/akismet.php',
1 => 'all-in-one-wp-migration/all-in-one-wp-migration.php',
2 => 'better-search-replace/better-search-replace.php',
3 => 'fusion-builder/fusion-builder.php',
4 => 'fusion-core/fusion-core.php',
5 => 'fusion-white-label-branding/fusion-white-label-branding.php',
6 => 'litespeed-cache/litespeed-cache.php',
7 => 'loginizer/loginizer.php',
8 => 'really-simple-ssl/rlrsssl-really-simple-ssl.php',
9 => 'revslider-particles-addon/revslider-particles-addon.php',
10 => 'revslider-particlewave-addon/revslider-particlewave-addon.php',
11 => 'revslider/revslider.php',
12 => 'seo-by-rank-math-pro/rank-math-pro.php',
13 => 'seo-by-rank-math/rank-math.php',
14 => 'wp-crontrol/wp-crontrol.php',
15 => 'wps-hide-login/wps-hide-login.php',
)
cloud = array (
'curr_request.ver' => 0,
'last_request.ver' => 1700872960,
'news.utime' => 1700399543,
'curr_request.news' => 0,
'last_request.news' => 1700399543,
'token_ts' => 1700657915,
'is_linked' => 1,
'curr_request.d/nodes' => 0,
'last_request.d/nodes' => 1700927562,
'curr_request.health-speed' => 0,
'usage.health' =>
array (
'total_used' => '8',
'used' => '8',
'quota' => 1000,
'unlimited_quota' => false,
'pag_used' => '0',
'pag_bal' => 0,
'pkgs' => '4',
'daily_quota' => -1,
'remaining_daily_quota' => -1,
),
'last_request.health-speed' => 1698281355,
'curr_request.health-score' => 1700613230,
'curr_request.d/usage' => 0,
'last_request.d/usage' => 1700920440,
'usage.img_optm' =>
array (
'total_used' => 0,
'used' => 0,
'quota' => 10000,
'unlimited_quota' => false,
'pag_used' => 0,
'pag_bal' => 0,
'pkgs' => 4,
'daily_quota' => 1000,
'remaining_daily_quota' => 1000,
),
'usage.page_optm' =>
array (
'total_used' => '268',
'used' => '268',
'quota' => '2000',
'daily_quota' => 285,
'remaining_daily_quota' => 278,
'pag_used' => '0',
'pag_bal' => 0,
'pkgs' => '4',
),
'usage.ccss' =>
array (
'total_used' => '262',
'used' => '262',
'quota' => 2000,
'unlimited_quota' => false,
'pag_used' => '0',
'pag_bal' => 0,
'pkgs' => '4',
'daily_quota' => 285,
'remaining_daily_quota' => 284,
),
'usage.ucss' => false,
'usage.vpi' => false,
'usage.lqip' =>
array (
'total_used' => 0,
'used' => 0,
'quota' => 1000,
'unlimited_quota' => false,
'pag_used' => 0,
'pag_bal' => 0,
'pkgs' => 4,
'daily_quota' => 142,
'remaining_daily_quota' => 142,
),
'usage.cdn' =>
array (
'total_used' => '22',
'used' => '46',
'quota' => 200,
'unlimited_quota' => false,
'pag_used' => '0',
'pag_bal' => 0,
'pkgs' => '4',
'daily_quota' => -1,
'remaining_daily_quota' => -1,
),
'curr_request.ucss' => 0,
'last_request.ucss' => 1700928648,
'curr_request.ccss' => 0,
'last_request.ccss' => 1700927433,
'curr_request.vpi' => 0,
'last_request.vpi' => 1700771065,
'main_domain' => 'bekwellmaroc.com',
'last_request.health-score' => 1698282135,
'curr_request.d/sync_conf' => 0,
'last_request.d/sync_conf' => 1700614170,
'curr_request.d/get_token' => 0,
'last_request.d/get_token' => 1698282502,
'disabled_node' =>
array (
'https://wpapi.quic.cloud' => 1698792878,
),
'apikey_ts' => 1700657961,
'server.ucss' => 'https://node12.quic.cloud',
'server_date.ucss' => 1700927562,
'server.ccss' => 'https://node449.quic.cloud',
'server_date.ccss' => 1700927433,
'server.vpi' => 'https://node12.quic.cloud',
'server_date.vpi' => 1700771065,
'curr_request.wp/report' => 0,
'last_request.wp/report' => 1700928669,
) LSCache Plugin Options
_version = 5.7.0.1
hash = zhwYVNld56Nod8OYgSfxBFRrBMsuxqo3
auto_upgrade = false
api_key = 55CF383BD8653C538FE0BBF7B9246D8C
server_ip =
guest = true
guest_optm = true
news = true
guest_uas = array (
0 => 'Lighthouse',
1 => 'GTmetrix',
2 => 'Google',
3 => 'Pingdom',
4 => 'bot',
5 => 'spider',
6 => 'PTST',
7 => 'HeadlessChrome',
)
guest_ips = array (
0 => '208.70.247.157',
1 => '172.255.48.130',
2 => '172.255.48.131',
3 => '172.255.48.132',
4 => '172.255.48.133',
5 => '172.255.48.134',
6 => '172.255.48.135',
7 => '172.255.48.136',
8 => '172.255.48.137',
9 => '172.255.48.138',
10 => '172.255.48.139',
11 => '172.255.48.140',
12 => '172.255.48.141',
13 => '172.255.48.142',
14 => '172.255.48.143',
15 => '172.255.48.144',
16 => '172.255.48.145',
17 => '172.255.48.146',
18 => '172.255.48.147',
19 => '52.229.122.240',
20 => '104.214.72.101',
21 => '13.66.7.11',
22 => '13.85.24.83',
23 => '13.85.24.90',
24 => '13.85.82.26',
25 => '40.74.242.253',
26 => '40.74.243.13',
27 => '40.74.243.176',
28 => '104.214.48.247',
29 => '157.55.189.189',
30 => '104.214.110.135',
31 => '70.37.83.240',
32 => '65.52.36.250',
33 => '13.78.216.56',
34 => '52.162.212.163',
35 => '23.96.34.105',
36 => '65.52.113.236',
37 => '172.255.61.34',
38 => '172.255.61.35',
39 => '172.255.61.36',
40 => '172.255.61.37',
41 => '172.255.61.38',
42 => '172.255.61.39',
43 => '172.255.61.40',
44 => '104.41.2.19',
45 => '191.235.98.164',
46 => '191.235.99.221',
47 => '191.232.194.51',
48 => '52.237.235.185',
49 => '52.237.250.73',
50 => '52.237.236.145',
51 => '104.211.143.8',
52 => '104.211.165.53',
53 => '52.172.14.87',
54 => '40.83.89.214',
55 => '52.175.57.81',
56 => '20.188.63.151',
57 => '20.52.36.49',
58 => '52.246.165.153',
59 => '51.144.102.233',
60 => '13.76.97.224',
61 => '102.133.169.66',
62 => '52.231.199.170',
63 => '13.53.162.7',
64 => '40.123.218.94',
)
cache = true
cache-priv = true
cache-commenter = true
cache-rest = true
cache-page_login = true
cache-favicon = true
cache-resources = true
cache-mobile = true
cache-mobile_rules = array (
0 => 'Mobile',
1 => 'Android',
2 => 'Silk/',
3 => 'Kindle',
4 => 'BlackBerry',
5 => 'Opera Mini',
6 => 'Opera Mobi',
)
cache-browser = false
cache-exc_useragents = array (
)
cache-exc_cookies = array (
)
cache-exc_qs = array (
)
cache-exc_cat = array (
)
cache-exc_tag = array (
)
cache-force_uri = array (
)
cache-force_pub_uri = array (
)
cache-priv_uri = array (
)
cache-exc = array (
)
cache-exc_roles = array (
)
cache-drop_qs = array (
0 => 'fbclid',
1 => 'gclid',
2 => 'utm*',
3 => '_ga',
)
cache-ttl_pub = 604800
cache-ttl_priv = 1800
cache-ttl_frontpage = 604800
cache-ttl_feed = 604800
cache-ttl_rest = 604800
cache-ttl_browser = 31557600
cache-ttl_status = array (
0 => '404 3600',
1 => '500 600',
)
cache-login_cookie =
cache-vary_group = array (
'administrator' => '99',
'author' => '0',
'contributor' => '0',
'editor' => '0',
'subscriber' => '0',
)
purge-upgrade = true
purge-stale = false
purge-post_all = false
purge-post_f = true
purge-post_h = true
purge-post_p = true
purge-post_pwrp = true
purge-post_a = true
purge-post_y = false
purge-post_m = true
purge-post_d = false
purge-post_t = true
purge-post_pt = true
purge-timed_urls = array (
)
purge-timed_urls_time =
purge-hook_all = array (
0 => 'switch_theme',
1 => 'wp_create_nav_menu',
2 => 'wp_update_nav_menu',
3 => 'wp_delete_nav_menu',
4 => 'create_term',
5 => 'edit_terms',
6 => 'delete_term',
7 => 'add_link',
8 => 'edit_link',
9 => 'delete_link',
)
esi = false
esi-cache_admbar = true
esi-cache_commform = true
esi-nonce = array (
0 => 'stats_nonce',
1 => 'subscribe_nonce',
)
util-instant_click = false
util-no_https_vary = false
debug-disable_all = false
debug = 0
debug-ips = array (
0 => '127.0.0.1',
)
debug-level = false
debug-filesize = 3
debug-cookie = false
debug-collaps_qs = false
debug-inc = array (
)
debug-exc = array (
)
debug-exc_strings = array (
)
db_optm-revisions_max = 0
db_optm-revisions_age = 0
optm-css_min = true
optm-css_comb = false
optm-css_comb_ext_inl = true
optm-ucss = true
optm-ucss_inline = true
optm-ucss_whitelist = array (
)
optm-ucss_file_exc_inline = array (
)
optm-ucss_exc = array (
)
optm-css_exc = array (
)
optm-js_min = true
optm-js_comb = true
optm-js_comb_ext_inl = true
optm-js_delay_inc = array (
)
optm-js_exc = array (
0 => 'jquery.js',
1 => 'jquery.min.js',
)
optm-html_min = true
optm-html_lazy = array (
)
optm-qs_rm = true
optm-ggfonts_rm = false
optm-css_async = true
optm-ccss_per_url = true
optm-ccss_sep_posttype = array (
0 => 'page',
)
optm-ccss_sep_uri = array (
)
optm-css_async_inline = true
optm-css_font_display = true
optm-js_defer = 1
optm-emoji_rm = true
optm-noscript_rm = true
optm-ggfonts_async = true
optm-exc_roles = array (
)
optm-ccss_con =
optm-js_defer_exc = array (
0 => 'jquery.js',
1 => 'jquery.min.js',
2 => 'gtm.js',
3 => 'analytics.js',
)
optm-gm_js_exc = array (
)
optm-dns_prefetch = array (
)
optm-dns_prefetch_ctrl = true
optm-dns_preconnect = array (
)
optm-exc = array (
)
optm-guest_only = true
object = false
object-kind = false
object-host = localhost
object-port = 11211
object-life = 360
object-persistent = true
object-admin = true
object-transients = true
object-db_id = 0
object-user =
object-pswd =
object-global_groups = array (
0 => 'users',
1 => 'userlogins',
2 => 'useremail',
3 => 'userslugs',
4 => 'usermeta',
5 => 'user_meta',
6 => 'site-transient',
7 => 'site-options',
8 => 'site-lookup',
9 => 'site-details',
10 => 'blog-lookup',
11 => 'blog-details',
12 => 'blog-id-cache',
13 => 'rss',
14 => 'global-posts',
15 => 'global-cache-test',
)
object-non_persistent_groups = array (
0 => 'comment',
1 => 'counts',
2 => 'plugins',
3 => 'wc_session_id',
)
discuss-avatar_cache = true
discuss-avatar_cron = true
discuss-avatar_cache_ttl = 604800
optm-localize = true
optm-localize_domains = array (
0 => '### Popular scripts ###',
1 => 'https://platform.twitter.com/widgets.js',
2 => 'https://connect.facebook.net/en_US/fbevents.js',
)
media-lazy = true
media-lazy_placeholder =
media-placeholder_resp = false
media-placeholder_resp_color = #cfd4db
media-placeholder_resp_svg =
media-lqip = true
media-lqip_qual = 4
media-lqip_min_w = 150
media-lqip_min_h = 150
media-placeholder_resp_async = true
media-iframe_lazy = false
media-add_missing_sizes = true
media-lazy_exc = array (
)
media-lazy_cls_exc = array (
0 => 'wmu-preview-img',
)
media-lazy_parent_cls_exc = array (
)
media-iframe_lazy_cls_exc = array (
)
media-iframe_lazy_parent_cls_exc = array (
)
media-lazy_uri_exc = array (
)
media-lqip_exc = array (
)
media-vpi = true
media-vpi_cron = true
img_optm-auto = true
img_optm-cron = true
img_optm-ori = true
img_optm-rm_bkup = false
img_optm-webp = true
img_optm-lossless = false
img_optm-exif = true
img_optm-webp_attr = array (
0 => 'img.src',
1 => 'div.data-thumb',
2 => 'img.data-src',
3 => 'img.data-lazyload',
4 => 'div.data-large_image',
5 => 'img.retina_logo_url',
6 => 'div.data-parallax-image',
7 => 'div.data-vc-parallax-image',
8 => 'video.poster',
)
img_optm-webp_replace_srcset = true
img_optm-jpg_quality = 82
crawler = false
crawler-usleep = 500
crawler-run_duration = 400
crawler-run_interval = 600
crawler-crawl_interval = 302400
crawler-threads = 3
crawler-timeout = 30
crawler-load_limit = 1
crawler-sitemap =
crawler-drop_domain = true
crawler-map_timeout = 120
crawler-roles = array (
)
crawler-cookies = array (
)
misc-heartbeat_front = false
misc-heartbeat_front_ttl = 60
misc-heartbeat_back = false
misc-heartbeat_back_ttl = 60
misc-heartbeat_editor = false
misc-heartbeat_editor_ttl = 15
cdn = false
cdn-ori = array (
0 => '//bekwellmaroc.com/',
)
cdn-ori_dir = array (
0 => 'wp-content',
1 => 'wp-includes',
)
cdn-exc = array (
)
cdn-quic = false
cdn-cloudflare = false
cdn-cloudflare_email =
cdn-cloudflare_key =
cdn-cloudflare_name =
cdn-cloudflare_zone =
cdn-mapping = array (
0 =>
array (
'url' => '',
'inc_img' => '1',
'inc_css' => '1',
'inc_js' => '1',
'filetype' =>
array (
0 => '.aac',
1 => '.css',
2 => '.eot',
3 => '.gif',
4 => '.jpeg',
5 => '.jpg',
6 => '.js',
7 => '.less',
8 => '.mp3',
9 => '.mp4',
10 => '.ogg',
11 => '.otf',
12 => '.pdf',
13 => '.png',
14 => '.svg',
15 => '.ttf',
16 => '.webp',
17 => '.woff',
18 => '.woff2',
),
),
)
cdn-attr = array (
0 => '.src',
1 => '.data-src',
2 => '.href',
3 => '.poster',
4 => 'source.srcset',
)
qc-token =
qc-nameservers =
_cache = true /home/u885621263/domains/bekwellmaroc.com/public_html/.htaccess contents: BEGIN LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block!
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule .litespeed_conf.dat - [F,L] marker MOBILE start RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC]
RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+ismobile] marker MOBILE end marker CACHE RESOURCE start RewriteRule wp-content/./[^/](responsive|css|js|dynamic|loader|fonts).php - [E=cache-control:max-age=3600] marker CACHE RESOURCE end marker FAVICON start RewriteRule favicon.ico$ - [E=cache-control:max-age=86400] marker FAVICON end marker WEBP start RewriteCond %{HTTP_ACCEPT} "image/webp"
RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
RewriteCond %{HTTP_USER_AGENT} iPhone.Version/(\d{2}).Safari
RewriteCond %1 >13
RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp] marker WEBP end marker DROPQS start CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga marker DROPQS end LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END LSCACHE BEGIN NON_LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END NON_LSCACHE Begin Really Simple Security Options -Indexes End Really Simple Security BEGIN WordPress Les directives (lignes) entre ? BEGIN WordPress ? et ? END WordPress ? sont générées dynamiquement, et doivent être modifiées uniquement via les filtres WordPress. Toute modification des directives situées entre ces marqueurs sera surchargée.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}/%{REQUEST_URI} [R,L=301]
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L] END WordPress BEGIN LiteSpeed Les directives (lignes) entre ? BEGIN LiteSpeed ? et ? END LiteSpeed ? sont générées dynamiquement, et doivent être modifiées uniquement via les filtres WordPress. Toute modification des directives situées entre ces marqueurs sera surchargée. SetEnv noabort 1 END LiteSpeed BEGIN WP Cloudflare Super Page Cache Les directives (lignes) entre ? BEGIN WP Cloudflare Super Page Cache ? et ? END WP Cloudflare Super Page Cache ? sont générées dynamiquement, et doivent être modifiées uniquement via les filtres WordPress. Toute modification des directives situées entre ces marqueurs sera surchargée. END WP Cloudflare Super Page Cache@qtwrk
Hello again,I’ve conducted further investigations, and it appears that the issue persists on two specific pages of my site. Strangely, the other pages seem to be functioning well without any problems.
I’m eager to resolve this discrepancy and ensure consistent performance across all pages.
Thank you for your assistance.
@bekwell
Try disabling Guestmode and try again, but don’t forget to purge the cache.The PageSpeed error is caused by the “flying content” effect that is executed when your page is requested. PageSpeed expects something “visible”, but the visible content is only displayed after the page is reloaded by Guestmode. PageSpeed does not reload the page, but only sees a blank page. The same problem would also occur on desktop devices, but at least 1 banner is displayed on the initial request on desktop devices. It looks like guest mode is the culprit, but actually it’s this flying content effect in combination with guest mode reload.
Thank you for your detailed explanation.
I’ve tested your suggestion by disabling the Guestmode, and unfortunately, the results were not as expected. When Guestmode is disabled, I experienced a significant drop in performance, scoring below 20/100 on Google PageSpeed Insights.
Interestingly, with Guestmode enabled, I consistently achieve a perfect score of 100/100. This seems to confirm that the issue is indeed related to the combination of the “content flying” effect and Guestmode reloading.
Just to reiterate, the problem is specific to two pages on my site. All other pages consistently score 100/100 in mobile performance, regardless of the Guestmode setting.
If you have any further insights or suggestions on how to address this issue without compromising overall performance, I would greatly appreciate your guidance.
Thank you for your continued assistance.
please try go to Page Optm -> CSS tuning -> UCSS exclude URI, add
/
, save and purge all.If I were you, I would ignore this error because it doesn’t actually exist, or only occurs when PageSpeed checks it manually. However, a manual check by PageSpeed is not relevant and has no influence on your PageSpeed Score because the data for the PageSpeed Score is not determined by Google, but by users who use the Chrome browser. The Chrome browser has a user API and the data is transmitted to Google via this API. You can carry out the PageSpeed test via the Chrome browser. With this test this error does not occur.
Thank you for the suggestion.
I followed your instructions and added “/” to the UCSS exclude URI under Page Optm -> CSS tuning. After saving the changes, I purged all the cache. However, I regret to inform you that the issue still persists.
Do you have any further recommendations or steps I could take to resolve this issue? I appreciate your ongoing support.
Thank you.
em , if you disable guest mode , and/or guest optimization , how does it go ?
When I disable the Guest mode, I encounter a notable decline in performance on both mobile and desktop, scoring -20/100. Surprisingly, with the mode enabled, I achieve a perfect 100/100 on desktop, but unfortunately, the mobile score remains at 0/100. (https://www.bekwellmaroc.com)
It’s worth noting that this issue is not consistent across all pages. For instance, on the page https://bekwellmaroc.com/marketing-digital/ I don’t encounter this problem, and the performance scores well.
please create a ticket by mail to
support at litespeedtech.com
with reference link to this topicwe will investigate further.
- The topic ‘Mobile Performance Issue with LiteSpeed Cache on Google PageSpeed Insights’ is closed to new replies.