pagespeed

Website first load too slow

梦想的初衷 提交于 2019-12-11 10:16:15
问题 My websites (HTML and ASP.NET MVC) are hosted on a IIS 7.5 VPS their first load is always too slow, even requested from localhost, then navigation speed between the web sites pages is good. please what to do to increase first load speed? 回答1: U can always set the Idle Time-out of the application pool to 0 which is default 20 minutes. It's under advanced settings. That way the first load won't be often. 回答2: First load tends to require a compilation of webpages (aspx or razor). You can

What do percents regarding above-the-fold content mean?

一世执手 提交于 2019-12-11 09:07:07
问题 UPD I've read related pages carefully, they doesn't answer my particular question. What do the percents mean? Well, there's an attempt at explanation: google page insights will tell you clearly how many % of css referring the content above the fold is being loaded too late and page could have been rendered earlier. But that is not at all clearer than what PageSpeed says. If at all correct. I have a page with all my css inlined in the head (not much yet probably, 12K) and only one dummy

Does php increase a page loading time?

匆匆过客 提交于 2019-12-11 04:54:19
问题 I used php on my website so it can display multiple languages. I noticed the size of the html files reduced because most of the text was moved to a new large php file, which contains all "idiomatic" text in all languages available (just two in my case). My problem is: Previously a html page was downloaded with just the necessary text. Now a smaller html page is downloaded but a large php file is always included, whether the html uses more or less lines of it. Questions: When a php file is

Google PageSpeed Insights Error: An error occurred while fetching or analyzing the page

南笙酒味 提交于 2019-12-11 04:42:02
问题 Does anyone know how to get any information on what causes this issue or how to go about debugging it? Site is wreathsunlimited.com Google PageSpeed Insights at developers.google.com/speed/pagespeed/insights runs to about 70% and then terminates with "An error occurred while fetching or analyzing the page." The site runs clean with: webpagetest.org, pingdom.com, dotcom-tools.com, gtmetrix.com and Bing's tool . It fails every time with Google's PageSpeed Insights. Also, Google Analytics

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

Calculating and verifying Time To First Byte (TTFB)

送分小仙女□ 提交于 2019-12-10 11:15:08
问题 I was given the following formulas to measure Time To First Byte (TTFB), TTFB to DOM Ready and Page Load. TTFB window.performance.timing.responseStart - window.performance.timing.navigationStart TTFB to DOM Ready window.performance.timing.domComplete - window.performance.timing.navigationStart Page Load window.performance.timing.loadEventStart - window.performance.timing.navigationStart Are these formulas correct? And how would I be able to check them? I've heard you can measure them in

jQuery, how to use multiple cached elements

血红的双手。 提交于 2019-12-08 14:53:53
问题 For my project I'm using cached selectors to speed up, and see improvements: (to reduce searches inside the document) var sel1 = $('#selector1'); var sel2 = $('#selector2'); how can I use cached selectors in this situation? for ex: $('#selector1, #selector2').fadeTo(300, 1, 'linear'); It's just to polish up my code Ty :) 回答1: You can use .add() to "Add elements to the set of matched elements": sel1.add(sel2).fadeTo(300, 1, 'linear'); Docs for .add() : http://api.jquery.com/add .add() can take

PageSpeed and CDN images

怎甘沉沦 提交于 2019-12-08 10:40:17
问题 I currently have a site that services images located on AWS S3 via AWS Cloudfront. I'm not looking to install PageSpeed and I want to take advantage of the image optimization and lazy loading (out of page view) that PageSpeed offers. My question is: Do I need to move the images from S3 onto the Server with PageSpeed to take advantage of the image optimization and lazy loading. eg: to the images need to be local to where PageSpeed is installed or can they be external on S3 in this case? I can

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