Skip to content

Instantly share code, notes, and snippets.

@JustinBeckwith
Created April 15, 2018 18:35
Show Gist options
  • Save JustinBeckwith/06bc533e786570e35892a6fd7e4f2ea9 to your computer and use it in GitHub Desktop.
Save JustinBeckwith/06bc533e786570e35892a6fd7e4f2ea9 to your computer and use it in GitHub Desktop.
{
"captchaResult": "CAPTCHA_NOT_NEEDED",
"kind": "pagespeedonline#result",
"id": "https://github.com/",
"responseCode": 200,
"title": "The world's leading software development platform · GitHub",
"ruleGroups": {
"SPEED": {
"score": 58
}
},
"loadingExperience": {
"id": "https://github.com/",
"metrics": {
"FIRST_CONTENTFUL_PAINT_MS": {
"median": 1390,
"distributions": [
{
"min": 0,
"max": 1567,
"proportion": 0.5658857599386424
},
{
"min": 1567,
"max": 2963,
"proportion": 0.2976434104563467
},
{
"min": 2963,
"proportion": 0.13647082960501083
}
],
"category": "FAST"
},
"DOM_CONTENT_LOADED_EVENT_FIRED_MS": {
"median": 1163,
"distributions": [
{
"min": 0,
"max": 2120,
"proportion": 0.7731209935996478
},
{
"min": 2120,
"max": 4226,
"proportion": 0.16221335990052133
},
{
"min": 4226,
"proportion": 0.06466564649983066
}
],
"category": "FAST"
}
},
"overall_category": "FAST",
"initial_url": "https://github.com/"
},
"pageStats": {
"numberResources": 43,
"numberHosts": 2,
"totalRequestBytes": "4253",
"numberStaticResources": 41,
"htmlResponseBytes": "56293",
"overTheWireResponseBytes": "1809648",
"cssResponseBytes": "563446",
"imageResponseBytes": "1701064",
"javascriptResponseBytes": "4696",
"otherResponseBytes": "58",
"numberJsResources": 1,
"numberCssResources": 3,
"numTotalRoundTrips": 12,
"numRenderBlockingRoundTrips": 6
},
"formattedResults": {
"locale": "en_US",
"ruleResults": {
"AvoidLandingPageRedirects": {
"localizedRuleName": "Avoid landing page redirects",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "Your page has no redirects. Learn more about {{BEGIN_LINK}}avoiding landing page redirects{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/AvoidRedirects"
}
]
}
},
"EnableGzipCompression": {
"localizedRuleName": "Enable compression",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "You have compression enabled. Learn more about {{BEGIN_LINK}}enabling compression{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/EnableCompression"
}
]
}
},
"LeverageBrowserCaching": {
"localizedRuleName": "Leverage browser caching",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "You have enabled browser caching. Learn more about {{BEGIN_LINK}}browser caching recommendations{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/LeverageBrowserCaching"
}
]
}
},
"MainResourceServerResponseTime": {
"localizedRuleName": "Reduce server response time",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "Your server responded quickly. Learn more about {{BEGIN_LINK}}server response time optimization{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/Server"
}
]
}
},
"MinifyCss": {
"localizedRuleName": "Minify CSS",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "Your CSS is minified. Learn more about {{BEGIN_LINK}}minifying CSS{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/MinifyResources"
}
]
}
},
"MinifyHTML": {
"localizedRuleName": "Minify HTML",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "Your HTML is minified. Learn more about {{BEGIN_LINK}}minifying HTML{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/MinifyResources"
}
]
}
},
"MinifyJavaScript": {
"localizedRuleName": "Minify JavaScript",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "Your JavaScript content is minified. Learn more about {{BEGIN_LINK}}minifying JavaScript{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/MinifyResources"
}
]
}
},
"MinimizeRenderBlockingResources": {
"localizedRuleName": "Eliminate render-blocking JavaScript and CSS in above-the-fold content",
"ruleImpact": 42.0,
"groups": [
"SPEED"
],
"summary": {
"format": "Your page has {{NUM_CSS}} blocking CSS resources. This causes a delay in rendering your page.",
"args": [
{
"type": "INT_LITERAL",
"key": "NUM_CSS",
"value": "4"
}
]
},
"urlBlocks": [
{
"header": {
"format": "None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML."
}
},
{
"header": {
"format": "{{BEGIN_LINK}}Optimize CSS Delivery{{END_LINK}} of the following:",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery"
}
]
},
"urls": [
{
"result": {
"format": "{{URL}}",
"args": [
{
"type": "URL",
"key": "URL",
"value": "https://assets-cdn.github.com/assets/frameworks-592c4aa40e940d1b0607a3cf272916ff.css"
}
]
}
},
{
"result": {
"format": "{{URL}}",
"args": [
{
"type": "URL",
"key": "URL",
"value": "https://assets-cdn.github.com/assets/github-96ebb1551fc5dba84c6d2a0fa7b1cfcf.css"
}
]
}
},
{
"result": {
"format": "{{URL}}",
"args": [
{
"type": "URL",
"key": "URL",
"value": "https://assets-cdn.github.com/assets/site-348211d27070b0d7bb5d31b1ac3d265b.css"
}
]
}
},
{
"result": {
"format": "{{URL}}",
"args": [
{
"type": "URL",
"key": "URL",
"value": "https://assets-cdn.github.com/assets/site-348211d27070b0d7bb5d31b1ac3d265b.css"
}
]
}
}
]
}
]
},
"OptimizeImages": {
"localizedRuleName": "Optimize images",
"ruleImpact": 1.0,
"groups": [
"SPEED"
],
"summary": {
"format": "Properly formatting and compressing images can save many bytes of data."
},
"urlBlocks": [
{
"header": {
"format": "{{BEGIN_LINK}}Optimize the following images{{END_LINK}} to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/OptimizeImages"
},
{
"type": "BYTES",
"key": "SIZE_IN_BYTES",
"value": "135.8KiB"
},
{
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "54%"
}
]
},
"urls": [
{
"result": {
"format": "Compressing and resizing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).",
"args": [
{
"type": "URL",
"key": "URL",
"value": "https://assets-cdn.github.com/images/modules/site/integrators/circleci.png"
},
{
"type": "BYTES",
"key": "SIZE_IN_BYTES",
"value": "62.3KiB"
},
{
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "97%"
}
]
}
},
{
"result": {
"format": "Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).",
"args": [
{
"type": "URL",
"key": "URL",
"value": "https://assets-cdn.github.com/images/modules/site/home-illo-business.png"
},
{
"type": "BYTES",
"key": "SIZE_IN_BYTES",
"value": "51.4KiB"
},
{
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "32%"
}
]
}
},
{
"result": {
"format": "Compressing and resizing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).",
"args": [
{
"type": "URL",
"key": "URL",
"value": "https://assets-cdn.github.com/images/modules/site/logos/paypal-logo.png"
},
{
"type": "BYTES",
"key": "SIZE_IN_BYTES",
"value": "22.1KiB"
},
{
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "91%"
}
]
}
}
]
}
]
},
"PrioritizeVisibleContent": {
"localizedRuleName": "Prioritize visible content",
"ruleImpact": 0.0,
"groups": [
"SPEED"
],
"summary": {
"format": "You have the above-the-fold content properly prioritized. Learn more about {{BEGIN_LINK}}prioritizing visible content{{END_LINK}}.",
"args": [
{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent"
}
]
}
}
}
},
"version": {
"major": 1,
"minor": 15
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment