google-pagespeed

PageSpeed giving ERR_CONNECTION_FAILED Only on production

跟風遠走 提交于 2020-08-10 19:01:43
问题 We have our development page giving correct score on page speed insights. https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fdev.techtitute.com But our production page always returns scan error: Lighthouse returned error: FAILED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: net::ERR_CONNECTION_FAILED) https://developers

PageSpeed giving ERR_CONNECTION_FAILED Only on production

与世无争的帅哥 提交于 2020-08-10 18:58:47
问题 We have our development page giving correct score on page speed insights. https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fdev.techtitute.com But our production page always returns scan error: Lighthouse returned error: FAILED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: net::ERR_CONNECTION_FAILED) https://developers

How to use both rel=“preload” and rel=“stylesheet” for the same tag?

不想你离开。 提交于 2020-06-17 13:26:11
问题 Google Pagespeed test doesn't recognize preload when it is used together with stylesheet. I tried <link rel="preload stylesheet" href="http://www.example.com/style.css" /> and it still shows "Consider using to prioritize fetching resources that are currently requested later in page load.". If I remove stylesheet from rel attribute, it recognizes the preload. I was thinking to try this: <link rel="preload" rel="stylesheet" href="http://www.example.com/style.css" /> but I am not sure if you can

Leverage browser caching for external files

回眸只為那壹抹淺笑 提交于 2020-06-10 07:44:08
问题 i'm trying to get my google page speed insights rating to be decent, but there are some external files that i would want to be cached aswell, anyone knows what would be the best way to deal with this? https://s.swiftypecdn.com/cc.js (5 minutes) https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js (60 minutes) https://pagead2.googlesyndication.com/pagead/osd.js (60 minutes) https://www.google-analytics.com/plugins/ua/linkid.js (60 minutes) https://hey.hellobar.com/

Leverage browser caching for external files

爱⌒轻易说出口 提交于 2020-06-10 07:43:29
问题 i'm trying to get my google page speed insights rating to be decent, but there are some external files that i would want to be cached aswell, anyone knows what would be the best way to deal with this? https://s.swiftypecdn.com/cc.js (5 minutes) https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js (60 minutes) https://pagead2.googlesyndication.com/pagead/osd.js (60 minutes) https://www.google-analytics.com/plugins/ua/linkid.js (60 minutes) https://hey.hellobar.com/

How can I optimize all my images?

牧云@^-^@ 提交于 2020-04-30 07:34:30
问题 Diagnose I recently came across : PageSpeed Insights, it basically test your page speed, spit out a score, and display what cause your page to slow-down. I enter my url and here is my : result. Issues I clearly don't have a lot score, but I'm working on improving them. I got a lot of image optimization problems. I've tried 2 things. __ 1.Use ImageOptim Software I've tried using ImageOptim Mac Software to optimize all my images in my img/ folder. 2.Use grunt imagemin plug-in On top of that I ,

How can I optimize all my images?

寵の児 提交于 2020-04-30 07:32:05
问题 Diagnose I recently came across : PageSpeed Insights, it basically test your page speed, spit out a score, and display what cause your page to slow-down. I enter my url and here is my : result. Issues I clearly don't have a lot score, but I'm working on improving them. I got a lot of image optimization problems. I've tried 2 things. __ 1.Use ImageOptim Software I've tried using ImageOptim Mac Software to optimize all my images in my img/ folder. 2.Use grunt imagemin plug-in On top of that I ,

Disable mod_pagespeed (no server conf access, .htaccess doesn't work)

非 Y 不嫁゛ 提交于 2020-04-07 14:14:03
问题 I have a Wordpress site that my client wants to validate perfectly (using W3C validator). One of the issues is Google's pagespeed, which seems to be enabled by default by hosting provider. I try to disable mod_pagespeed in .htaccess file with the following, but it doesn't work for some reason: <IfModule pagespeed_module> ModPagespeed off </IfModule> I can disable it by adding "?ModPagespeed=off" to URL, but this does not solve my problem. Is there anything else I can try? I only have access

Disable mod_pagespeed (no server conf access, .htaccess doesn't work)

假装没事ソ 提交于 2020-04-07 14:13:33
问题 I have a Wordpress site that my client wants to validate perfectly (using W3C validator). One of the issues is Google's pagespeed, which seems to be enabled by default by hosting provider. I try to disable mod_pagespeed in .htaccess file with the following, but it doesn't work for some reason: <IfModule pagespeed_module> ModPagespeed off </IfModule> I can disable it by adding "?ModPagespeed=off" to URL, but this does not solve my problem. Is there anything else I can try? I only have access

How to parallelize downloads across hostnames on WordPress?

痞子三分冷 提交于 2020-01-13 11:15:22
问题 I'm getting this message "Parallelize downloads across hostnames" when checking my WordPress site on GTmetrix > https://gtmetrix.com Here are the details > https://gtmetrix.com/parallelize-downloads-across-hostnames.html How do I fix that ? 回答1: Details Web browsers put a limit on the number of concurrent connections they will make to a host. When there are many resources that need to be downloaded, a backlog of resources waiting to be downloaded will form. The browser will make up as many