google-pagespeed

Page Speed Insights - Size Content to Viewport?

谁都会走 提交于 2019-12-11 13:17:53
问题 I am getting the error in Google Page Speed Insights stating: "The page content is too wide for the viewport, forcing the user to scroll horizontally. Size the page content to the viewport to provide a better user experience." "The page content is 378 CSS pixels wide, but the viewport is only 320 CSS pixels wide." I have the viewport set in the header as follows: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/> I still have the issue

PageSpeed Insights API limits

拥有回忆 提交于 2019-12-11 00:24:20
问题 I've been searching everywhere but I couldn't find the answer to the following questions. What are the limits? How many requests per day? Thank you in advance 回答1: I've logged into my Google Developers Console and I can see that I have a quota of 25,000 requests a day. Once you have signed up for the service, you can also apply for an higher quota if necessary! Hope that helps. 回答2: Google imposes a quota limit on PageSpeed Insights API usage. The current limit (as of September, 2015) is 25

Google PageSpeed API dotnet .net

孤者浪人 提交于 2019-12-10 17:55:39
问题 I have set up a basic C# application to run a PageSpeed test on a website that I specify using the Google.Apis.Pagespeedonline.v2 nuget package. The set up is simple enough and I have a variable that I can specify the url which is then past in to the Service // Create the service. var service = new PagespeedonlineService(new BaseClientService.Initializer { ApplicationName = "PageSpeed Sample", ApiKey = "[API_KEY_HERE]" }); var url = "URL_TO_TEST"; // Run the request. var result = await

PageSpeed review and optimization

萝らか妹 提交于 2019-12-09 14:52:01
问题 I analysed my page speed using google pagespeed insight and got below suggestion. Can any one help me how I can implement it. Leverage browser caching Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network. Leverage browser caching for the following cacheable resources: http://www.googletagmanager.com/gtm.js?id=GTM-TVSKP6 (16.2 minutes) 回答1: You can't (you do

Google Page Speed Drop, says I can save more loading time, even though nothing changed

谁说胖子不能爱 提交于 2019-12-08 04:05:36
问题 I'm testing my pagespeed everyday several times. My page often receives a grade between 94 to 98, with the main problems being: Eliminate render-blocking resources - Save 0.33 Defer unused CSS - Save 0.15 s And in Lab data, all values are green. Since yesterday, suddenly page speed has dropped, to about 80-91 range, with the problems being: Eliminate render-blocking resources - Save ~0.33 Defer unused CSS - Save ~0.60 s And it is also saying my First CPU idle is slow ~4,5ms And so is time to

PageSpeed accuses script of “render-blocking” when using external image

烈酒焚心 提交于 2019-12-07 15:43:02
问题 I have placed a script from a CDN just before the closing tag of my page's body (above </body> ). Google's PageSpeed Insights says: Eliminate render-blocking JavaScript and CSS in above-the-fold content Your page has 1 blocking script resources. This causes a delay in rendering your page. I thought scripts before the end of my </body> don't delay the rendering? After some trial and error I found out that this is caused because my page uses an external image. With the example below you can

Google page speed insight does not support webp images ?

我的梦境 提交于 2019-12-07 08:10:34
问题 I am using webp images for my site,but Google page speed insight does not recognize it & hence doesn't give optimized result.Google page insight does not support webp images ? For eg. http://cdn-gi.storehippo.com/s/548ee13cdb64e550191162b4/ms.slides/webp/585a2d21d679d2df1179c75b-2048x2048.png 回答1: That is strange that webp does recognise webp because it recommends webp format for image optimisation. 回答2: I was also struggling to find an answer to this behavior of Google PSI as I was also

PageSpeed accuses script of “render-blocking” when using external image

China☆狼群 提交于 2019-12-05 21:40:58
I have placed a script from a CDN just before the closing tag of my page's body (above </body> ). Google's PageSpeed Insights says: Eliminate render-blocking JavaScript and CSS in above-the-fold content Your page has 1 blocking script resources. This causes a delay in rendering your page. I thought scripts before the end of my </body> don't delay the rendering? After some trial and error I found out that this is caused because my page uses an external image. With the example below you can cause PageSpeed to detect a "render-blocking" script: <body> <img src="http://i.stack.imgur.com/oURrw.png"

How to parallelize downloads across hostnames on WordPress?

荒凉一梦 提交于 2019-12-05 16:21: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 ? 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 simultaneous connections to the server as the browser allows in order to download these resources, but then

Ensure text remains visible during webfont load not getting resolved in Google pagespeed insights

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 04:40:05
Ensure text remains visible during webfont load issue is not getting resolved in google pagespeed insights report even after adding font-display: fallback to the CSS. How can I resolve the issue? @font-face { font-family: Jura; src: url(../fonts/Jura-Regular.eot); src: url(../fonts/Jura-Regular.eot?#iefix) format('embedded-opentype'), url(../fonts/Jura-Regular.woff2) format('woff2'), url(../fonts/Jura-Regular.woff) format('woff'), url(../fonts/Jura-Regular.ttf) format('truetype'), url(../fonts/Jura-Regular.svg#svgFontName) format('svg'); font-weight: 400; font-display: fallback; } I got rid of