webpagetest
Version:
WebPageTest API wrapper for NodeJS
683 lines (682 loc) • 31.8 kB
JSON
{
"locale": "en_US",
"rule_results": [
{
"localized_rule_name": "Avoid bad requests",
"rule_impact": 0,
"rule_name": "AvoidBadRequests",
"rule_score": 100
},
{
"localized_rule_name": "Avoid CSS @import",
"rule_impact": 0,
"rule_name": "AvoidCssImport",
"rule_score": 100
},
{
"localized_rule_name": "Defer parsing of JavaScript",
"rule_impact": 0,
"rule_name": "DeferParsingJavaScript",
"rule_score": 100
},
{
"localized_rule_name": "Enable compression",
"rule_impact": 0,
"rule_name": "EnableGzipCompression",
"rule_score": 100
},
{
"localized_rule_name": "Enable Keep-Alive",
"rule_impact": 0,
"rule_name": "EnableKeepAlive",
"rule_score": 100
},
{
"localized_rule_name": "Inline Small CSS",
"rule_impact": 0,
"rule_name": "InlineSmallCss",
"rule_score": 100
},
{
"localized_rule_name": "Inline Small JavaScript",
"rule_impact": 0,
"rule_name": "InlineSmallJavaScript",
"rule_score": 100
},
{
"localized_rule_name": "Leverage browser caching",
"rule_impact": 0.4642857142857143,
"rule_name": "LeverageBrowserCaching",
"rule_score": 96,
"url_blocks": [
{
"header": {
"format": "The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:"
},
"urls": [
{
"result": {
"args": [
{
"localized_value": "http://www.google-analytics.com/ga.js",
"string_value": "http://www.google-analytics.com/ga.js",
"type": "url"
},
{
"int_value": 43200000,
"localized_value": "12 hours",
"type": "duration"
}
],
"format": "$1 ($2)"
}
}
]
}
]
},
{
"localized_rule_name": "Make landing page redirects cacheable",
"rule_impact": 0,
"rule_name": "MakeLandingPageRedirectsCacheable",
"rule_score": 100
},
{
"localized_rule_name": "Minify CSS",
"rule_impact": 0,
"rule_name": "MinifyCss",
"rule_score": 100
},
{
"localized_rule_name": "Minify HTML",
"rule_impact": 0.1986,
"rule_name": "MinifyHTML",
"rule_score": 98,
"url_blocks": [
{
"header": {
"args": [
{
"int_value": 1986,
"localized_value": "1.9KiB",
"type": "bytes"
},
{
"int_value": 2,
"localized_value": "2%",
"type": "percentage"
}
],
"format": "Minifying the following HTML resources could reduce their size by $1 ($2 reduction)."
},
"urls": [
{
"result": {
"args": [
{
"localized_value": "http://twitter.com/marcelduran",
"string_value": "http://twitter.com/marcelduran",
"type": "url"
},
{
"int_value": 1894,
"localized_value": "1.8KiB",
"type": "bytes"
},
{
"int_value": 1,
"localized_value": "1%",
"type": "percentage"
}
],
"format": "Minifying $1 could save $2 ($3 reduction) after compression."
}
},
{
"result": {
"args": [
{
"localized_value": "http://twitter.com/",
"string_value": "http://twitter.com/",
"type": "url"
},
{
"int_value": 92,
"localized_value": "92B",
"type": "bytes"
},
{
"int_value": 9,
"localized_value": "9%",
"type": "percentage"
}
],
"format": "Minifying $1 could save $2 ($3 reduction) after compression."
}
}
]
}
]
},
{
"localized_rule_name": "Minify JavaScript",
"rule_impact": 0.2146,
"rule_name": "MinifyJavaScript",
"rule_score": 98,
"url_blocks": [
{
"header": {
"args": [
{
"int_value": 2146,
"localized_value": "2.1KiB",
"type": "bytes"
},
{
"int_value": 1,
"localized_value": "1%",
"type": "percentage"
}
],
"format": "Minifying the following JavaScript resources could reduce their size by $1 ($2 reduction)."
},
"urls": [
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/c/swift/en/bundle/core.3b3c10dad7d2b9eea1cccd19f285ab122a631927.js",
"string_value": "http://a0.twimg.com/c/swift/en/bundle/core.3b3c10dad7d2b9eea1cccd19f285ab122a631927.js",
"type": "url"
},
{
"int_value": 1209,
"localized_value": "1.2KiB",
"type": "bytes"
},
{
"int_value": 1,
"localized_value": "1%",
"type": "percentage"
}
],
"format": "Minifying $1 could save $2 ($3 reduction) after compression."
}
},
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/c/swift/en/bundle/profiles.7ebe3919d4e2d9059c327f10097df4a70cb565e5.js",
"string_value": "http://a0.twimg.com/c/swift/en/bundle/profiles.7ebe3919d4e2d9059c327f10097df4a70cb565e5.js",
"type": "url"
},
{
"int_value": 738,
"localized_value": "738B",
"type": "bytes"
},
{
"int_value": 1,
"localized_value": "1%",
"type": "percentage"
}
],
"format": "Minifying $1 could save $2 ($3 reduction) after compression."
}
},
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/c/swift/prereqs.4644886017c33e40374df1af2ab5f5d61c520eaa.js",
"string_value": "http://a0.twimg.com/c/swift/prereqs.4644886017c33e40374df1af2ab5f5d61c520eaa.js",
"type": "url"
},
{
"int_value": 103,
"localized_value": "103B",
"type": "bytes"
},
{
"int_value": 1,
"localized_value": "1%",
"type": "percentage"
}
],
"format": "Minifying $1 could save $2 ($3 reduction) after compression."
}
},
{
"result": {
"args": [
{
"localized_value": "http://www.google-analytics.com/ga.js",
"string_value": "http://www.google-analytics.com/ga.js",
"type": "url"
},
{
"int_value": 96,
"localized_value": "96B",
"type": "bytes"
},
{
"int_value": 1,
"localized_value": "1%",
"type": "percentage"
}
],
"format": "Minifying $1 could save $2 ($3 reduction) after compression."
}
}
]
}
]
},
{
"localized_rule_name": "Minimize redirects",
"rule_impact": 0,
"rule_name": "MinimizeRedirects",
"rule_score": 100
},
{
"localized_rule_name": "Minimize request size",
"rule_impact": 0,
"rule_name": "MinimizeRequestSize",
"rule_score": 100
},
{
"localized_rule_name": "Optimize images",
"rule_impact": 4.2093,
"rule_name": "OptimizeImages",
"rule_score": 35,
"url_blocks": [
{
"header": {
"args": [
{
"int_value": 42093,
"localized_value": "41.1KiB",
"type": "bytes"
},
{
"int_value": 73,
"localized_value": "73%",
"type": "percentage"
}
],
"format": "Optimizing the following images could reduce their size by $1 ($2 reduction)."
},
"urls": [
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/profile_images/1565307797/me-july2011-700px_normal.jpg",
"string_value": "http://a0.twimg.com/profile_images/1565307797/me-july2011-700px_normal.jpg",
"type": "url"
},
{
"int_value": 31634,
"localized_value": "30.9KiB",
"type": "bytes"
},
{
"int_value": 86,
"localized_value": "86%",
"type": "percentage"
}
],
"format": "Losslessly compressing $1 could save $2 ($3 reduction)."
}
},
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/profile_images/1893021490/legojslogo_normal.png",
"string_value": "http://a0.twimg.com/profile_images/1893021490/legojslogo_normal.png",
"type": "url"
},
{
"int_value": 4054,
"localized_value": "4.0KiB",
"type": "bytes"
},
{
"int_value": 38,
"localized_value": "38%",
"type": "percentage"
}
],
"format": "Losslessly compressing $1 could save $2 ($3 reduction)."
}
},
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/profile_images/1164735503/Jed_Schmidt_normal.jpeg",
"string_value": "http://a0.twimg.com/profile_images/1164735503/Jed_Schmidt_normal.jpeg",
"type": "url"
},
{
"int_value": 2810,
"localized_value": "2.7KiB",
"type": "bytes"
},
{
"int_value": 64,
"localized_value": "64%",
"type": "percentage"
}
],
"format": "Losslessly compressing $1 could save $2 ($3 reduction)."
}
},
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/profile_images/1612265539/304370_10150765342675029_833515028_20487612_6975164_n_normal.jpg",
"string_value": "http://a0.twimg.com/profile_images/1612265539/304370_10150765342675029_833515028_20487612_6975164_n_normal.jpg",
"type": "url"
},
{
"int_value": 2752,
"localized_value": "2.7KiB",
"type": "bytes"
},
{
"int_value": 66,
"localized_value": "66%",
"type": "percentage"
}
],
"format": "Losslessly compressing $1 could save $2 ($3 reduction)."
}
},
{
"result": {
"args": [
{
"localized_value": "http://a0.twimg.com/a/1344923934/t1/img/wash-white-30.png",
"string_value": "http://a0.twimg.com/a/1344923934/t1/img/wash-white-30.png",
"type": "url"
},
{
"int_value": 843,
"localized_value": "843B",
"type": "bytes"
},
{
"int_value": 89,
"localized_value": "89%",
"type": "percentage"
}
],
"format": "Losslessly compressing $1 could save $2 ($3 reduction)."
}
}
]
}
]
},
{
"localized_rule_name": "Optimize the order of styles and scripts",
"rule_impact": 0,
"rule_name": "OptimizeTheOrderOfStylesAndScripts",
"rule_score": 100
},
{
"localized_rule_name": "Put CSS in the document head",
"rule_impact": 0,
"rule_name": "PutCssInTheDocumentHead",
"rule_score": 100
},
{
"localized_rule_name": "Remove query strings from static resources",
"rule_impact": 0,
"rule_name": "RemoveQueryStringsFromStaticResources",
"rule_score": 100
},
{
"localized_rule_name": "Serve resources from a consistent URL",
"rule_impact": 0,
"rule_name": "ServeResourcesFromAConsistentUrl",
"rule_score": 100
},
{
"localized_rule_name": "Serve scaled images",
"rule_impact": 1.7575000000000003,
"rule_name": "ServeScaledImages",
"rule_score": 95,
"url_blocks": [
{
"header": {
"args": [
{
"int_value": 17575,
"localized_value": "17.2KiB",
"type": "bytes"
},
{
"int_value": 80,
"localized_value": "80%",
"type": "percentage"
}
],
"format": "The following images are resized in HTML or CSS. Serving scaled images could save $1 ($2 reduction)."
},
"urls": [
{
"result": {
"args": [
{
"localized_value": "http://p.twimg.com/AzYrCT8CUAApo8u.png:thumb",
"string_value": "http://p.twimg.com/AzYrCT8CUAApo8u.png:thumb",
"type": "url"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 7303,
"localized_value": "7.1KiB",
"type": "bytes"
},
{
"int_value": 80,
"localized_value": "80%",
"type": "percentage"
}
],
"format": "$1 is resized in HTML or CSS from $2x$3 to $4x$5. Serving a scaled image could save $6 ($7 reduction)."
}
},
{
"result": {
"args": [
{
"localized_value": "http://p.twimg.com/AzbObgECUAAwUPJ.jpg:thumb",
"string_value": "http://p.twimg.com/AzbObgECUAAwUPJ.jpg:thumb",
"type": "url"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 3771,
"localized_value": "3.7KiB",
"type": "bytes"
},
{
"int_value": 80,
"localized_value": "80%",
"type": "percentage"
}
],
"format": "$1 is resized in HTML or CSS from $2x$3 to $4x$5. Serving a scaled image could save $6 ($7 reduction)."
}
},
{
"result": {
"args": [
{
"localized_value": "http://p.twimg.com/Ay6JHXWCcAA6zfo.jpg:thumb",
"string_value": "http://p.twimg.com/Ay6JHXWCcAA6zfo.jpg:thumb",
"type": "url"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 3510,
"localized_value": "3.4KiB",
"type": "bytes"
},
{
"int_value": 80,
"localized_value": "80%",
"type": "percentage"
}
],
"format": "$1 is resized in HTML or CSS from $2x$3 to $4x$5. Serving a scaled image could save $6 ($7 reduction)."
}
},
{
"result": {
"args": [
{
"localized_value": "http://p.twimg.com/AzUt9DoCMAAPg-u.jpg:thumb",
"string_value": "http://p.twimg.com/AzUt9DoCMAAPg-u.jpg:thumb",
"type": "url"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 150,
"localized_value": "150",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 66,
"localized_value": "66",
"type": "int"
},
{
"int_value": 2991,
"localized_value": "2.9KiB",
"type": "bytes"
},
{
"int_value": 80,
"localized_value": "80%",
"type": "percentage"
}
],
"format": "$1 is resized in HTML or CSS from $2x$3 to $4x$5. Serving a scaled image could save $6 ($7 reduction)."
}
}
]
}
]
},
{
"localized_rule_name": "Specify a cache validator",
"rule_impact": 0,
"rule_name": "SpecifyACacheValidator",
"rule_score": 100
},
{
"localized_rule_name": "Specify a Vary: Accept-Encoding header",
"rule_impact": 0,
"rule_name": "SpecifyAVaryAcceptEncodingHeader",
"rule_score": 100
},
{
"localized_rule_name": "Specify a character set",
"rule_impact": 0,
"rule_name": "SpecifyCharsetEarly",
"rule_score": 100
},
{
"localized_rule_name": "Specify image dimensions",
"rule_impact": 0,
"rule_name": "SpecifyImageDimensions",
"rule_score": 100
},
{
"localized_rule_name": "Combine images into CSS sprites",
"rule_impact": 0,
"rule_name": "SpriteImages",
"rule_score": 100
},
{
"localized_rule_name": "Prefer asynchronous resources",
"rule_impact": 0,
"rule_name": "PreferAsyncResources",
"rule_score": 100
}
],
"score": 96
}