Created
June 6, 2019 17:25
-
-
Save aj07mm/5801b864fd42332935fc5dd73f359b7d to your computer and use it in GitHub Desktop.
pagespeed_response.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Pdb) response.keys() | |
[u'kind', u'captchaResult', u'formattedResults', u'title', u'ruleGroups', u'version', u'responseCode', u'pageStats', u'id'] | |
(Pdb) response['kind'] | |
u'pagespeedonline#result' | |
(Pdb) response['captchaResult'] | |
u'CAPTCHA_NOT_NEEDED' | |
(Pdb) response['title'] | |
u'Kinnek | Helping businesses share reputation information' | |
(Pdb) response['ruleGroups'] | |
{u'SPEED': {u'score': 75}} | |
(Pdb) response['version'] | |
{u'major': 1, u'minor': 15} | |
(Pdb) response['responseCode'] | |
200 | |
(Pdb) response['id'] | |
u'https://staging.kinnek.com/' | |
(Pdb) response['pageStats'] | |
{u'otherResponseBytes': u'149875', u'totalRequestBytes': u'12511', u'numberCssResources': 4, u'javascriptResponseBytes': u'2646449', u'cssResponseBytes': u'663982', u'imageResponseBytes': u'1984065', u'numberResources': 95, u'numberHosts': 23, u'numberStaticResources': 61, u'htmlResponseBytes': u'497568', u'numberJsResources': 15} | |
(Pdb) response['formattedResults'] | |
{u'locale': u'en_US', u'ruleResults': {u'MinifyHTML': {u'localizedRuleName': u'Minify HTML', u'groups': [u'SPEED'], u'ruleImpact': 0.0, u'summary': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/MinifyResources', u'key': u'LINK'}], u'format': u'Your HTML is minified. Learn more about {{BEGIN_LINK}}minifying HTML{{END_LINK}}.'}}, u'MinimizeRenderBlockingResources': {u'localizedRuleName': u'Eliminate render-blocking JavaScript and CSS in above-the-fold content', u'urlBlocks': [{u'header': {u'format': u'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.'}}, {u'header': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/BlockingJS', u'key': u'LINK'}], u'format': u'{{BEGIN_LINK}}Remove render-blocking JavaScript{{END_LINK}}:'}, u'urls': [{u'result': {u'args': [{u'type': u'URL', u'value': u'https://stage-resources.kinnek.com/static/webpack/dist/essential-monarch/essential-monarch.min.6a16df6edae1.js', u'key': u'URL'}], u'format': u'{{URL}}'}}]}, {u'header': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery', u'key': u'LINK'}], u'format': u'{{BEGIN_LINK}}Optimize CSS Delivery{{END_LINK}} of the following:'}, u'urls': [{u'result': {u'args': [{u'type': u'URL', u'value': u'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css', u'key': u'URL'}], u'format': u'{{URL}}'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700', u'key': u'URL'}], u'format': u'{{URL}}'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css', u'key': u'URL'}], u'format': u'{{URL}}'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://stage-resources.kinnek.com/static/webpack/dist/discovery/discovery.min.b69de59355d8.css', u'key': u'URL'}], u'format': u'{{URL}}'}}]}], u'groups': [u'SPEED'], u'ruleImpact': 14.0, u'summary': {u'args': [{u'type': u'INT_LITERAL', u'value': u'1', u'key': u'NUM_SCRIPTS'}, {u'type': u'INT_LITERAL', u'value': u'4', u'key': u'NUM_CSS'}], u'format': u'Your page has {{NUM_SCRIPTS}} blocking script resources and {{NUM_CSS}} blocking CSS resources. This causes a delay in rendering your page.'}}, u'EnableGzipCompression': {u'localizedRuleName': u'Enable compression',u'groups': [u'SPEED'], u'ruleImpact': 0.0, u'summary': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/EnableCompression', u'key': u'LINK'}], u'format': u'You have compression enabled. Learn more about {{BEGIN_LINK}}enabling compression{{END_LINK}}.'}}, u'MainResourceServerResponseTime': {u'localizedRuleName': u'Reduce server response time', u'groups': [u'SPEED'], u'ruleImpact': 0.0, u'summary': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/Server', u'key': u'LINK'}], u'format':u'Your server responded quickly. Learn more about {{BEGIN_LINK}}server response time optimization{{END_LINK}}.'}}, u'MinifyCss': {u'localizedRuleName': u'Minify CSS', u'groups': [u'SPEED'], u'ruleImpact': 0.0, u'summary': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/MinifyResources', u'key': u'LINK'}], u'format': u'Your CSS is minified. Learn more about {{BEGIN_LINK}}minifying CSS{{END_LINK}}.'}}, u'LeverageBrowserCaching': {u'localizedRuleName': u'Leverage browser caching', u'urlBlocks': [{u'header': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/LeverageBrowserCaching', u'key': u'LINK'}], u'format': u'{{BEGIN_LINK}}Leverage browser caching{{END_LINK}} for the following cacheable resources:'}, u'urls': [{u'result': {u'args': [{u'type': u'URL', u'value': u'https://api.segment.io/v1/p', u'key': u'URL'}], u'format': u'{{URL}} (expiration not specified)'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://staging.kinnek.com/tracking/impressiontrack/', u'key': u'URL'}], u'format': u'{{URL}} (expiration not specified)'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://staging.kinnek.com/tracking/visit/', u'key': u'URL'}], u'format': u'{{URL}} (expiration not specified)'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://js.hs-scripts.com/2101513.js', u'key': u'URL'}, {u'type': u'DURATION', u'value': u'60 seconds', u'key': u'LIFETIME'}], u'format': u'{{URL}} ({{LIFETIME}})'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://cdn.segment.com/analytics.js/v1/lwnioi6jQu/analytics.min.js', u'key': u'URL'}, {u'type': u'DURATION', u'value': u'5 minutes', u'key': u'LIFETIME'}], u'format': u'{{URL}} ({{LIFETIME}})'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://js.hs-analytics.net/analytics/1559841600000/2101513.js', u'key': u'URL'}, {u'type': u'DURATION', u'value': u'5 minutes', u'key': u'LIFETIME'}], u'format': u'{{URL}} ({{LIFETIME}})'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://www.googletagmanager.com/gtm.js?id=GTM-TRGDRNB', u'key': u'URL'}, {u'type': u'DURATION', u'value':u'15 minutes', u'key': u'LIFETIME'}], u'format': u'{{URL}} ({{LIFETIME}})'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://www.googleadservices.com/pagead/conversion.js', u'key': u'URL'}, {u'type': u'DURATION', u'value': u'60 minutes', u'key': u'LIFETIME'}], u'format': u'{{URL}} ({{LIFETIME}})'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://www.google-analytics.com/analytics.js', u'key': u'URL'}, {u'type': u'DURATION', u'value': u'2 hours', u'key': u'LIFETIME'}], u'format': u'{{URL}} ({{LIFETIME}})'}}]}], u'groups': [u'SPEED'], u'ruleImpact': 4.356944444444444, u'summary': {u'format': u'Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browserto load previously downloaded resources from local disk rather than over the network.'}}, u'AvoidLandingPageRedirects': {u'localizedRuleName': u'Avoid landing page redirects', u'groups': [u'SPEED'], u'ruleImpact': 0.0, u'summary': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/AvoidRedirects', u'key': u'LINK'}], u'format': u'Your page has no redirects. Learn more about {{BEGIN_LINK}}avoiding landing page redirects{{END_LINK}}.'}}, u'OptimizeImages': {u'localizedRuleName': u'Optimize images', u'urlBlocks': [{u'header': {u'args':[{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/OptimizeImages', u'key': u'LINK'}, {u'type': u'BYTES', u'value': u'97.8KiB', u'key': u'SIZE_IN_BYTES'}, {u'type': u'PERCENTAGE', u'value': u'15%', u'key': u'PERCENTAGE'}], u'format': u'{{BEGIN_LINK}}Optimize the following images{{END_LINK}} to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).'}, u'urls': [{u'result': {u'args': [{u'type': u'URL', u'value': u'https://stage-resources.kinnek.com/static/images/reputation-home/top-hero-tradeshow.jpeg', u'key': u'URL'}, {u'type': u'BYTES', u'value': u'62.7KiB', u'key': u'SIZE_IN_BYTES'}, {u'type': u'PERCENTAGE', u'value': u'16%', u'key': u'PERCENTAGE'}], u'format': u'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://stage-resources.kinnek.com/static/images/reputation-home/testimonials-section-background.jpg', u'key': u'URL'}, {u'type': u'BYTES', u'value': u'34.4KiB', u'key': u'SIZE_IN_BYTES'}, {u'type': u'PERCENTAGE', u'value': u'14%', u'key': u'PERCENTAGE'}], u'format': u'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).'}}, {u'result': {u'args': [{u'type': u'URL', u'value': u'https://resources.kinnek.com/media/carousel_logos/juiced-rite-llc.png?auto=compress', u'key': u'URL'}, {u'type': u'BYTES', u'value': u'812B', u'key': u'SIZE_IN_BYTES'}, {u'type': u'PERCENTAGE', u'value': u'11%', u'key': u'PERCENTAGE'}], u'format': u'Compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).'}}]}], u'groups': [u'SPEED'], u'ruleImpact': 10.018699999999999, u'summary': {u'format': u'Properly formatting and compressing images can save many bytes of data.'}}, u'PrioritizeVisibleContent': {u'localizedRuleName': u'Prioritize visible content', u'urlBlocks': [{u'header': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent', u'key': u'LINK'}], u'format': u'The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. {{BEGIN_LINK}}Prioritize visible content{{END_LINK}} that is needed for rendering above-the-fold by including it directly in the HTML response.'}, u'urls': [{u'result': {u'format': u'None of the final above-the-fold content could be rendered even with the full HTML response.'}}]}], u'groups': [u'SPEED'], u'ruleImpact': 4.0, u'summary': {u'format': u'Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.'}}, u'MinifyJavaScript': {u'localizedRuleName': u'Minify JavaScript', u'groups': [u'SPEED'], u'ruleImpact': 0.0, u'summary': {u'args': [{u'type': u'HYPERLINK', u'value': u'https://developers.google.com/speed/docs/insights/MinifyResources', u'key': u'LINK'}], u'format': u'Your JavaScript content is minified. Learn more about {{BEGIN_LINK}}minifying JavaScript{{END_LINK}}.'}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment