{"_id":"56fbe112698bea2b00de70c8","githubsync":"","category":{"_id":"56fbe112698bea2b00de70c3","__v":0,"version":"56fbe112698bea2b00de70c2","project":"56d60e96b939870b00512bf3","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-01T21:50:15.983Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"version":{"_id":"56fbe112698bea2b00de70c2","hasDoc":true,"project":"56d60e96b939870b00512bf3","hasReference":true,"__v":1,"createdAt":"2016-03-30T14:22:10.357Z","releaseDate":"2016-03-30T14:22:10.357Z","categories":["56fbe112698bea2b00de70c3","56fbe112698bea2b00de70c4"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"0.0.5","version":"0.0.5"},"user":"542975351215fe08007e0e85","__v":0,"project":"56d60e96b939870b00512bf3","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-01T22:04:39.161Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Available Rules\"\n}\n[/block]\nThis is the list of currently available rules that are available to check against.\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"aft\",\n    \"0-1\": \"Time until the above-the-fold stabilized. _Currently only returns 0._\",\n    \"1-0\": \"browser_main_memory_kb\",\n    \"2-0\": \"browser_other_private_memory_kb\",\n    \"3-0\": \"browser_process_count\",\n    \"4-0\": \"browser_working_set_kb\",\n    \"5-0\": \"bytesIn\",\n    \"6-0\": \"bytesInDoc\",\n    \"7-0\": \"bytesOut\",\n    \"8-0\": \"bytesOutDoc\",\n    \"9-0\": \"cached\",\n    \"10-0\": \"connections\",\n    \"11-0\": \"docCPUms\",\n    \"12-0\": \"docCPUpct\",\n    \"13-0\": \"docTime\",\n    \"14-0\": \"domContentLoadedEventEnd\",\n    \"15-0\": \"domContentLoadedEventStart\",\n    \"16-0\": \"domElements\",\n    \"17-0\": \"domTime\",\n    \"18-0\": \"effectiveBps\",\n    \"19-0\": \"effectiveBpsDoc\",\n    \"20-0\": \"firstPaint\",\n    \"21-0\": \"fullyLoaded\",\n    \"22-0\": \"fullyLoadedCPUms\",\n    \"23-0\": \"fullyLoadedCPUpct\",\n    \"24-0\": \"gzip_savings\",\n    \"25-0\": \"gzip_total\",\n    \"26-0\": \"image_savings\",\n    \"27-0\": \"image_total\",\n    \"28-0\": \"lastVisualChange\",\n    \"29-0\": \"loadEventEnd\",\n    \"30-0\": \"loadEventStart\",\n    \"31-0\": \"loadTime\",\n    \"32-0\": \"minify_savings\",\n    \"33-0\": \"minify_total\",\n    \"34-0\": \"optimization_checked\",\n    \"35-0\": \"pageSpeedVersion\",\n    \"36-0\": \"render\",\n    \"37-0\": \"requestsCSS\",\n    \"38-0\": \"requestsDoc\",\n    \"39-0\": \"requestsFlash\",\n    \"40-0\": \"requestsFont\",\n    \"41-0\": \"requestsFull\",\n    \"42-0\": \"requestsHTML\",\n    \"43-0\": \"requestsImage\",\n    \"44-0\": \"requestsJS\",\n    \"45-0\": \"requestsOther\",\n    \"46-0\": \"responses_200\",\n    \"47-0\": \"responses_404\",\n    \"48-0\": \"responses_other\",\n    \"49-0\": \"result\",\n    \"50-0\": \"score_cache\",\n    \"51-0\": \"score_cdn\",\n    \"52-0\": \"score_combine\",\n    \"53-0\": \"score_compress\",\n    \"54-0\": \"score_cookies\",\n    \"55-0\": \"score_etags\",\n    \"56-0\": \"score_gzip\",\n    \"57-0\": \"score_keepAlive\",\n    \"58-0\": \"score_minify\",\n    \"59-0\": \"score_progressive_jpeg\",\n    \"60-0\": \"SpeedIndex\",\n    \"61-0\": \"titleTime\",\n    \"62-0\": \"TTFB\",\n    \"63-0\": \"visualComplete\",\n    \"50-1\": \"% of static assets that had expires headers to enable browser caching. _**Returns**: `-1` for N/A_\",\n    \"51-1\": \"% of static assets that were served from a CDN. _**Returns**: `-1` for N/A_\",\n    \"52-1\": \"% of JS or CSS assets that were the only asset of that type served from a given host (more than one of that type from the same host could have been combined). _**Returns**: `-1` for N/A_\",\n    \"58-1\": \"% of HTML or JS assets that were minified (less that 10% of lines had leading/trailing whitespace or comments). _**Returns**: `-1` for N/A_\",\n    \"57-1\": \"% of responses from servers that served more than one asset that used persistent connections. _**Returns**: `-1` for N/A_\",\n    \"54-1\": \"% of responses that wrote cookies NOT to the aol.com domain. _**Returns**: `-1` for N/A_\",\n    \"56-1\": \"% of text or JS assets that were Gzip encoded. _**Returns**: `-1` for N/A_\",\n    \"55-1\": \"% of requests that passed the ETag header check. _**Returns**: `-1` for N/A_\",\n    \"59-1\": \"% of the JPEG bytes that were for progressive JPEGs. _**Returns**: `-1` for N/A_\",\n    \"53-1\": \"% of image objects that passed the image compression test. _**Returns**: `-1` for N/A_\",\n    \"60-1\": \"The calculated [Speed Index](https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/metrics/speed-index).\",\n    \"61-1\": \"Time from the start of the operation until the title first changed (in ms).\",\n    \"62-1\": \"Time to First Byte (ms).\",\n    \"63-1\": \"Time of the last visual change to the page (ms).\",\n    \"6-1\": \"The number of bytes downloaded before the Document Complete time.\",\n    \"8-1\": \"The number of bytes uploaded before the Document Complete time.\",\n    \"38-1\": \"The number of HTTP(S) requests before the Document Complete time.\",\n    \"37-1\": \"The number of CSS requests.\",\n    \"39-1\": \"The number of Flash requests.\",\n    \"40-1\": \"The number of Font requests.\",\n    \"41-1\": \"The total number of HTTP(S) requests.\",\n    \"42-1\": \"The number of HTML requests.\",\n    \"43-1\": \"The number of Image requests.\",\n    \"44-1\": \"The number of Javascript requests.\",\n    \"45-1\": \"The number of 'other' requests.\",\n    \"46-1\": \"The number of HTTP(S) requests that returned 200.\",\n    \"47-1\": \"The number of HTTP(S) requests that returned 404.\",\n    \"48-1\": \"The number of HTTP(S) requests that returned a response code that was not 200 / 404.\",\n    \"33-1\": \"Total size of applicable resources for minification (bytes).\",\n    \"32-1\": \"Bytes that could be saved through minification.\",\n    \"25-1\": \"Total size of applicable resources for Gzip compression (bytes).\",\n    \"24-1\": \"Bytes that could be saved through Gzip compression.\",\n    \"27-1\": \"Total size of applicable resources for image compression (bytes).\",\n    \"26-1\": \"Bytes that could be saved through image optimization.\",\n    \"16-1\": \"Number of DOM Elements on the document (including sub-documents in frames).\",\n    \"5-1\": \"Total number of bytes downloaded.\",\n    \"7-1\": \"Total number of bytes uploaded.\",\n    \"13-1\": \"Document Complete Time (ms).\",\n    \"20-1\": \"Browser-reported first paint time.\",\n    \"22-1\": \"Fully Loaded CPU Time (ms).\",\n    \"23-1\": \"Fully Loaded CPU Utilization (%)\",\n    \"35-1\": \"Version of the Page Speed SDK that was used.\",\n    \"31-1\": \"Load Time (ms).\",\n    \"29-1\": \"Time until loadEventEnd triggered (ms).\",\n    \"30-1\": \"Time until loadEventStart triggered (ms).\",\n    \"28-1\": \"Time until last visual change (ms).\",\n    \"21-1\": \"Time until page fully loaded (ms).\",\n    \"14-1\": \"Time until domContentLoadedEventEnd triggered (ms).\",\n    \"15-1\": \"Time until domContentLoadedEventStart triggered (ms).\",\n    \"11-1\": \"Doc Complete CPU Time (ms).\",\n    \"12-1\": \"Doc Complete CPU Utilization (%).\",\n    \"17-1\": \"DOM Element Time (ms)\",\n    \"3-1\": \"Browser Process Count - Measured at the end of a page test.\",\n    \"4-1\": \"Working set size for the main browser process - Measured at the end of a page test (KB).\",\n    \"2-1\": \"Child Private Working Set Size - Sum of private working sets for all browser processes excluding the main process, Measured at the end of a page test (KB).\",\n    \"34-1\": \"1 if the request was checked for optimization, 0 if not.\",\n    \"18-1\": \"Metric that calculates the bandwidth used from the first byte to the end of the load to show how efficiently a site is filling the pipe.\",\n    \"19-1\": \"Metric that calculates the bandwidth used from the first byte to the end of the document complete.\",\n    \"36-1\": \"Time till 'Start Render' (ms).\",\n    \"49-1\": \"Result (error code).\",\n    \"10-1\": \"Number of different connections for requests.\"\n  },\n  \"cols\": 2,\n  \"rows\": 64\n}\n[/block]","excerpt":"","slug":"rules","type":"basic","title":"Rules"}
[block:api-header] { "type": "basic", "title": "Available Rules" } [/block] This is the list of currently available rules that are available to check against. [block:parameters] { "data": { "0-0": "aft", "0-1": "Time until the above-the-fold stabilized. _Currently only returns 0._", "1-0": "browser_main_memory_kb", "2-0": "browser_other_private_memory_kb", "3-0": "browser_process_count", "4-0": "browser_working_set_kb", "5-0": "bytesIn", "6-0": "bytesInDoc", "7-0": "bytesOut", "8-0": "bytesOutDoc", "9-0": "cached", "10-0": "connections", "11-0": "docCPUms", "12-0": "docCPUpct", "13-0": "docTime", "14-0": "domContentLoadedEventEnd", "15-0": "domContentLoadedEventStart", "16-0": "domElements", "17-0": "domTime", "18-0": "effectiveBps", "19-0": "effectiveBpsDoc", "20-0": "firstPaint", "21-0": "fullyLoaded", "22-0": "fullyLoadedCPUms", "23-0": "fullyLoadedCPUpct", "24-0": "gzip_savings", "25-0": "gzip_total", "26-0": "image_savings", "27-0": "image_total", "28-0": "lastVisualChange", "29-0": "loadEventEnd", "30-0": "loadEventStart", "31-0": "loadTime", "32-0": "minify_savings", "33-0": "minify_total", "34-0": "optimization_checked", "35-0": "pageSpeedVersion", "36-0": "render", "37-0": "requestsCSS", "38-0": "requestsDoc", "39-0": "requestsFlash", "40-0": "requestsFont", "41-0": "requestsFull", "42-0": "requestsHTML", "43-0": "requestsImage", "44-0": "requestsJS", "45-0": "requestsOther", "46-0": "responses_200", "47-0": "responses_404", "48-0": "responses_other", "49-0": "result", "50-0": "score_cache", "51-0": "score_cdn", "52-0": "score_combine", "53-0": "score_compress", "54-0": "score_cookies", "55-0": "score_etags", "56-0": "score_gzip", "57-0": "score_keepAlive", "58-0": "score_minify", "59-0": "score_progressive_jpeg", "60-0": "SpeedIndex", "61-0": "titleTime", "62-0": "TTFB", "63-0": "visualComplete", "50-1": "% of static assets that had expires headers to enable browser caching. _**Returns**: `-1` for N/A_", "51-1": "% of static assets that were served from a CDN. _**Returns**: `-1` for N/A_", "52-1": "% of JS or CSS assets that were the only asset of that type served from a given host (more than one of that type from the same host could have been combined). _**Returns**: `-1` for N/A_", "58-1": "% of HTML or JS assets that were minified (less that 10% of lines had leading/trailing whitespace or comments). _**Returns**: `-1` for N/A_", "57-1": "% of responses from servers that served more than one asset that used persistent connections. _**Returns**: `-1` for N/A_", "54-1": "% of responses that wrote cookies NOT to the aol.com domain. _**Returns**: `-1` for N/A_", "56-1": "% of text or JS assets that were Gzip encoded. _**Returns**: `-1` for N/A_", "55-1": "% of requests that passed the ETag header check. _**Returns**: `-1` for N/A_", "59-1": "% of the JPEG bytes that were for progressive JPEGs. _**Returns**: `-1` for N/A_", "53-1": "% of image objects that passed the image compression test. _**Returns**: `-1` for N/A_", "60-1": "The calculated [Speed Index](https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/metrics/speed-index).", "61-1": "Time from the start of the operation until the title first changed (in ms).", "62-1": "Time to First Byte (ms).", "63-1": "Time of the last visual change to the page (ms).", "6-1": "The number of bytes downloaded before the Document Complete time.", "8-1": "The number of bytes uploaded before the Document Complete time.", "38-1": "The number of HTTP(S) requests before the Document Complete time.", "37-1": "The number of CSS requests.", "39-1": "The number of Flash requests.", "40-1": "The number of Font requests.", "41-1": "The total number of HTTP(S) requests.", "42-1": "The number of HTML requests.", "43-1": "The number of Image requests.", "44-1": "The number of Javascript requests.", "45-1": "The number of 'other' requests.", "46-1": "The number of HTTP(S) requests that returned 200.", "47-1": "The number of HTTP(S) requests that returned 404.", "48-1": "The number of HTTP(S) requests that returned a response code that was not 200 / 404.", "33-1": "Total size of applicable resources for minification (bytes).", "32-1": "Bytes that could be saved through minification.", "25-1": "Total size of applicable resources for Gzip compression (bytes).", "24-1": "Bytes that could be saved through Gzip compression.", "27-1": "Total size of applicable resources for image compression (bytes).", "26-1": "Bytes that could be saved through image optimization.", "16-1": "Number of DOM Elements on the document (including sub-documents in frames).", "5-1": "Total number of bytes downloaded.", "7-1": "Total number of bytes uploaded.", "13-1": "Document Complete Time (ms).", "20-1": "Browser-reported first paint time.", "22-1": "Fully Loaded CPU Time (ms).", "23-1": "Fully Loaded CPU Utilization (%)", "35-1": "Version of the Page Speed SDK that was used.", "31-1": "Load Time (ms).", "29-1": "Time until loadEventEnd triggered (ms).", "30-1": "Time until loadEventStart triggered (ms).", "28-1": "Time until last visual change (ms).", "21-1": "Time until page fully loaded (ms).", "14-1": "Time until domContentLoadedEventEnd triggered (ms).", "15-1": "Time until domContentLoadedEventStart triggered (ms).", "11-1": "Doc Complete CPU Time (ms).", "12-1": "Doc Complete CPU Utilization (%).", "17-1": "DOM Element Time (ms)", "3-1": "Browser Process Count - Measured at the end of a page test.", "4-1": "Working set size for the main browser process - Measured at the end of a page test (KB).", "2-1": "Child Private Working Set Size - Sum of private working sets for all browser processes excluding the main process, Measured at the end of a page test (KB).", "34-1": "1 if the request was checked for optimization, 0 if not.", "18-1": "Metric that calculates the bandwidth used from the first byte to the end of the load to show how efficiently a site is filling the pipe.", "19-1": "Metric that calculates the bandwidth used from the first byte to the end of the document complete.", "36-1": "Time till 'Start Render' (ms).", "49-1": "Result (error code).", "10-1": "Number of different connections for requests." }, "cols": 2, "rows": 64 } [/block]