-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutput_example.json
368 lines (368 loc) · 13.2 KB
/
output_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
{
"kind": "pagespeedonline#result",
"id": "https://www.google.se/?gfe_rd=cr&ei=e9rKVtqeOoOPoAfbmoGoDQ&gws_rd=ssl",
"responseCode": 200,
"title": "Google",
"ruleGroups": {
"SPEED": {
"score": 64
},
"USABILITY": {
"score": 100
}
},
"pageStats": {
"numberResources": 19,
"numberHosts": 6,
"totalRequestBytes": "3518",
"numberStaticResources": 10,
"htmlResponseBytes": "77597",
"cssResponseBytes": "16050",
"imageResponseBytes": "111443",
"javascriptResponseBytes": "454944",
"otherResponseBytes": "57053",
"numberJsResources": 3,
"numberCssResources": 2
},
"formattedResults": {
"locale": "en_US",
"ruleResults": {
"AvoidInterstitials": {
"localizedRuleName": "Avoid app install interstitials that hide content",
"ruleImpact": 0,
"groups": ["USABILITY"],
"summary": {
"format": "Your page does not appear to have any app install interstitials that hide a significant amount of content. Learn more about the importance of {{BEGIN_LINK}}avoiding the use of app install interstitials{{END_LINK}}.",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/webmasters/mobile-sites/mobile-seo/common-mistakes/avoid-interstitials"
}]
}
},
"AvoidLandingPageRedirects": {
"localizedRuleName": "Avoid landing page redirects",
"ruleImpact": 25.5,
"groups": ["SPEED"],
"summary": {
"format": "Your page has {{NUM_REDIRECTS}} redirects. Redirects introduce additional delays before the page can be loaded.",
"args": [{
"type": "INT_LITERAL",
"key": "NUM_REDIRECTS",
"value": "2"
}]
},
"urlBlocks": [{
"header": {
"format": "{{BEGIN_LINK}}Avoid landing page redirects{{END_LINK}} for the following chain of redirected URLs.",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/AvoidRedirects"
}]
},
"urls": [{
"result": {
"format": "{{FIRST_URL}}",
"args": [{
"type": "URL",
"key": "FIRST_URL",
"value": "http://google.com/"
}]
}
}, {
"result": {
"format": "{{REDIRECTED_URL}}",
"args": [{
"type": "URL",
"key": "REDIRECTED_URL",
"value": "http://www.google.se/?gfe_rd=cr&ei=e9rKVtqeOoOPoAfbmoGoDQ"
}]
}
}, {
"result": {
"format": "{{REDIRECTED_URL}}",
"args": [{
"type": "URL",
"key": "REDIRECTED_URL",
"value": "https://www.google.se/?gfe_rd=cr&ei=e9rKVtqeOoOPoAfbmoGoDQ&gws_rd=ssl"
}]
}
}]
}]
},
"AvoidPlugins": {
"localizedRuleName": "Avoid plugins",
"ruleImpact": 0,
"groups": ["USABILITY"],
"summary": {
"format": "Your page does not appear to use plugins, which would prevent content from being usable on many platforms. Learn more about the importance of {{BEGIN_LINK}}avoiding plugins{{END_LINK}}.",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/AvoidPlugins"
}]
}
},
"ConfigureViewport": {
"localizedRuleName": "Configure the viewport",
"ruleImpact": 0,
"groups": ["USABILITY"],
"summary": {
"format": "Your page specifies a viewport matching the device's size, which allows it to render properly on all devices. Learn more about {{BEGIN_LINK}}configuring viewports{{END_LINK}}.",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/ConfigureViewport"
}]
}
},
"EnableGzipCompression": {
"localizedRuleName": "Enable compression",
"ruleImpact": 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,
"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,
"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,
"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,
"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.1563,
"groups": ["SPEED"],
"summary": {
"format": "Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time."
},
"urlBlocks": [{
"header": {
"format": "{{BEGIN_LINK}}Minify JavaScript{{END_LINK}} for the following resources to reduce their size by {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/MinifyResources"
}, {
"type": "BYTES",
"key": "SIZE_IN_BYTES",
"value": "1.1KiB"
}, {
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "2%"
}]
},
"urls": [{
"result": {
"format": "Minifying {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction) after compression.",
"args": [{
"type": "URL",
"key": "URL",
"value": "https://www.google.se/xjs/_/js/k=xjs.s.sv.qnWJZZetxFk.O/m=sx,c,sb_mob,bct,cdos,elog,jsa,mbsf,r,hsm,qsm,d,csi/am=gLJMIAXwnSljIiGPCUJABQoE/rt=j/d=1/t=zcms/rs=ACT90oGxizWOoaTeJvH9utgKlGC68gNtAA"
}, {
"type": "BYTES",
"key": "SIZE_IN_BYTES",
"value": "1.1KiB"
}, {
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "2%"
}]
}
}]
}]
},
"MinimizeRenderBlockingResources": {
"localizedRuleName": "Eliminate render-blocking JavaScript and CSS in above-the-fold content",
"ruleImpact": 32,
"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": "1"
}]
},
"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://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
}]
}
}]
}]
},
"OptimizeImages": {
"localizedRuleName": "Optimize images",
"ruleImpact": 0.1774,
"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": "1.7KiB"
}, {
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "9%"
}]
},
"urls": [{
"result": {
"format": "Losslessly compressing {{URL}} could save {{SIZE_IN_BYTES}} ({{PERCENTAGE}} reduction).",
"args": [{
"type": "URL",
"key": "URL",
"value": "https://www.google.se/images/nav_logo242.png"
}, {
"type": "BYTES",
"key": "SIZE_IN_BYTES",
"value": "1.7KiB"
}, {
"type": "PERCENTAGE",
"key": "PERCENTAGE",
"value": "9%"
}]
}
}]
}]
},
"PrioritizeVisibleContent": {
"localizedRuleName": "Prioritize visible content",
"ruleImpact": 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"
}]
}
},
"SizeContentToViewport": {
"localizedRuleName": "Size content to viewport",
"ruleImpact": 0,
"groups": ["USABILITY"],
"summary": {
"format": "The contents of your page fit within the viewport. Learn more about {{BEGIN_LINK}}sizing content to the viewport{{END_LINK}}.",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/SizeContentToViewport"
}]
}
},
"SizeTapTargetsAppropriately": {
"localizedRuleName": "Size tap targets appropriately",
"ruleImpact": 0,
"groups": ["USABILITY"],
"summary": {
"format": "All of your page's links/buttons are large enough for a user to easily tap on a touchscreen. Learn more about {{BEGIN_LINK}}sizing tap targets appropriately{{END_LINK}}.",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/SizeTapTargetsAppropriately"
}]
}
},
"UseLegibleFontSizes": {
"localizedRuleName": "Use legible font sizes",
"ruleImpact": 0,
"groups": ["USABILITY"],
"summary": {
"format": "The text on your page is legible. Learn more about {{BEGIN_LINK}}using legible font sizes{{END_LINK}}.",
"args": [{
"type": "HYPERLINK",
"key": "LINK",
"value": "https://developers.google.com/speed/docs/insights/UseLegibleFontSizes"
}]
}
}
}
},
"version": {
"major": 1,
"minor": 15
}
}