Interface GoogleApiPageSpeedOnlineResource

Index

Properties

Properties

public formattedResults: { locale: string; ruleResults: { AvoidBadRequests: GoogleApiPageSpeedOnlineRuleResource; AvoidCharsetInMetaTag: GoogleApiPageSpeedOnlineRuleResource; AvoidCssImport: GoogleApiPageSpeedOnlineRuleResource; AvoidLandingPageRedirects: GoogleApiPageSpeedOnlineRuleResource; AvoidLongRunningScripts: GoogleApiPageSpeedOnlineRuleResource; DeferParsingJavaScript: GoogleApiPageSpeedOnlineRuleResource; EnableGzipCompression: GoogleApiPageSpeedOnlineRuleResource; InlineSmallCss: GoogleApiPageSpeedOnlineRuleResource; InlineSmallJavaScript: GoogleApiPageSpeedOnlineRuleResource; LeverageBrowserCaching: GoogleApiPageSpeedOnlineRuleResource; MinifyCss: GoogleApiPageSpeedOnlineRuleResource; MinifyHTML: GoogleApiPageSpeedOnlineRuleResource; MinifyJavaScript: GoogleApiPageSpeedOnlineRuleResource; MinimizeRedirects: GoogleApiPageSpeedOnlineRuleResource; MinimizeRequestSize: GoogleApiPageSpeedOnlineRuleResource; OptimizeImages: GoogleApiPageSpeedOnlineRuleResource; OptimizeTheOrderOfStylesAndScripts: GoogleApiPageSpeedOnlineRuleResource; PreferAsyncResources: GoogleApiPageSpeedOnlineRuleResource; PutCssInTheDocumentHead: GoogleApiPageSpeedOnlineRuleResource; RemoveQueryStringsFromStaticResources: GoogleApiPageSpeedOnlineRuleResource; ServerResourcesFromAConsistentUrl: GoogleApiPageSpeedOnlineRuleResource; ServerScaledImages: GoogleApiPageSpeedOnlineRuleResource; ServeResponseTime: GoogleApiPageSpeedOnlineRuleResource; SpecifyACacheValidator: GoogleApiPageSpeedOnlineRuleResource; SpecifyAVaryAcceptEncodingHeader: GoogleApiPageSpeedOnlineRuleResource; SpecifyCharsetEarly: GoogleApiPageSpeedOnlineRuleResource; SpecifyImageDimensions: GoogleApiPageSpeedOnlineRuleResource; SpriteImages: GoogleApiPageSpeedOnlineRuleResource; }; }

Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.

public formattedResults.locale: string

The locale of the formattedResults, such as en_US.

public formattedResults.ruleResults: { AvoidBadRequests: GoogleApiPageSpeedOnlineRuleResource; AvoidCharsetInMetaTag: GoogleApiPageSpeedOnlineRuleResource; AvoidCssImport: GoogleApiPageSpeedOnlineRuleResource; AvoidLandingPageRedirects: GoogleApiPageSpeedOnlineRuleResource; AvoidLongRunningScripts: GoogleApiPageSpeedOnlineRuleResource; DeferParsingJavaScript: GoogleApiPageSpeedOnlineRuleResource; EnableGzipCompression: GoogleApiPageSpeedOnlineRuleResource; InlineSmallCss: GoogleApiPageSpeedOnlineRuleResource; InlineSmallJavaScript: GoogleApiPageSpeedOnlineRuleResource; LeverageBrowserCaching: GoogleApiPageSpeedOnlineRuleResource; MinifyCss: GoogleApiPageSpeedOnlineRuleResource; MinifyHTML: GoogleApiPageSpeedOnlineRuleResource; MinifyJavaScript: GoogleApiPageSpeedOnlineRuleResource; MinimizeRedirects: GoogleApiPageSpeedOnlineRuleResource; MinimizeRequestSize: GoogleApiPageSpeedOnlineRuleResource; OptimizeImages: GoogleApiPageSpeedOnlineRuleResource; OptimizeTheOrderOfStylesAndScripts: GoogleApiPageSpeedOnlineRuleResource; PreferAsyncResources: GoogleApiPageSpeedOnlineRuleResource; PutCssInTheDocumentHead: GoogleApiPageSpeedOnlineRuleResource; RemoveQueryStringsFromStaticResources: GoogleApiPageSpeedOnlineRuleResource; ServerResourcesFromAConsistentUrl: GoogleApiPageSpeedOnlineRuleResource; ServerScaledImages: GoogleApiPageSpeedOnlineRuleResource; ServeResponseTime: GoogleApiPageSpeedOnlineRuleResource; SpecifyACacheValidator: GoogleApiPageSpeedOnlineRuleResource; SpecifyAVaryAcceptEncodingHeader: GoogleApiPageSpeedOnlineRuleResource; SpecifyCharsetEarly: GoogleApiPageSpeedOnlineRuleResource; SpecifyImageDimensions: GoogleApiPageSpeedOnlineRuleResource; SpriteImages: GoogleApiPageSpeedOnlineRuleResource; }

Dictionary of formatted rule results, with one entry for each PageSpeed rule instantiated and run by the server.

public ruleResults.AvoidBadRequests: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.AvoidCharsetInMetaTag: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.AvoidCssImport: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.AvoidLandingPageRedirects: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.AvoidLongRunningScripts: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.DeferParsingJavaScript: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.EnableGzipCompression: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.InlineSmallCss: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.InlineSmallJavaScript: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.LeverageBrowserCaching: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.MinifyCss: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.MinifyHTML: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.MinifyJavaScript: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.MinimizeRedirects: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.MinimizeRequestSize: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.OptimizeImages: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.OptimizeTheOrderOfStylesAndScripts: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.PreferAsyncResources: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.PutCssInTheDocumentHead: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.RemoveQueryStringsFromStaticResources: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.ServeResponseTime: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.ServerResourcesFromAConsistentUrl: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.ServerScaledImages: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.SpecifyACacheValidator: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.SpecifyAVaryAcceptEncodingHeader: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.SpecifyCharsetEarly: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.SpecifyImageDimensions: GoogleApiPageSpeedOnlineRuleResource

public ruleResults.SpriteImages: GoogleApiPageSpeedOnlineRuleResource

public id: string

Canonicalized and final URL for the document, after following page redirects (if any).

public invalidRules: Array<string>

List of rules that were specified in the request, but which the server did not know how to instantiate.

public kind: string

Kind of result.

public pageStats: { numberResources: number; numberHosts: number; totalRequestBytes: string; numberStaticResources: number; htmlResponseBytes: string; textResponseBytes: string; cssResponsebytes: string; imageResponseBytes: string; javascriptResponsebytes: string; flashResponseBytes: string; otherResponsebytes: string; numberJsResources: number; numberCssResources: number; }

Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.

public pageStats.cssResponsebytes: string

Number of uncompressed response bytes for CSS resources on the page.

public pageStats.flashResponseBytes: string

Number of response bytes for Flash resources on the page.

public pageStats.htmlResponseBytes: string

Number of uncompressed response bytes for the main HTML document and all iframes on the page.

public pageStats.imageResponseBytes: string

Number of response bytes for image resources on the page.

public pageStats.javascriptResponsebytes: string

Number of uncompressed response bytes for JS resources on the page.

public pageStats.numberCssResources: number

Number of CSS resources referenced by the page.

public pageStats.numberHosts: number

Number of unique hosts referenced by the page.

public pageStats.numberJsResources: number

Number of JavaScript resources referenced by the page.

public pageStats.numberResources: number

Number of HTTP resources loaded by the page.

public pageStats.numberStaticResources: number

Number of static (that is, cacheable) resources on the page.

public pageStats.otherResponsebytes: string

Number of response bytes for other resources on the page.

public pageStats.textResponseBytes: string

Number of uncompressed response bytes for text resources on the page that aren't covered by other statistics; that is, non-HTML, non-script, non-CSS resources.

public pageStats.totalRequestBytes: string

Total size of all request bytes sent by the page.

public responseCode: number

Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error.

public score: number

The PageSpeed Score (0-100), which indicates how much faster a page could be. A high score indicates little room for improvement, while a lower score indicates more room for improvement.

public title: string

Title of the page, as displayed in the browser's title bar.

public version: { major: number; minor: number; }

The version of the PageSpeed SDK used to generate these results.

public version.major: number

The major version number of the PageSpeed SDK used to generate these results.

public version.minor: number

The minor version number of the PageSpeed SDK used to generate these results.