Give less score weight to requests number

This commit is contained in:
Gaël Métais
2020-12-30 00:37:33 +01:00
parent 4193d61e0b
commit 3f098cd33a
+4 -4
View File
@@ -810,10 +810,10 @@ var policies = {
"totalRequests": {
"tool": "redownload",
"label": "Requests number",
"message": "<p>Each request slows down the page loading, especially on the protocol HTTP/1, but also on HTTP/2.</p><p>There are several technics to reduce their number:<ul><li>Concatenate JS files</li><li>Concatenate CSS files</li><li>Embed or inline small JS or CSS files in the HTML</li><li>Create sprites</li><li>Base64 encode small images in HTML or stylesheets</li><li>Use lazyloading for images</li></ul></p>",
"isOkThreshold": 50,
"isBadThreshold": 150,
"isAbnormalThreshold": 250,
"message": "<p>Each request slows down the page loading, especially on the protocol HTTP/1, but also a little on HTTP/2.</p><p>There are several technics to reduce their number:<ul><li>Concatenate JS files</li><li>Concatenate CSS files</li><li>Embed or inline small JS or CSS files in the HTML</li><li>Create sprites</li><li>Base64 encode small images in HTML or stylesheets</li><li>Use lazyloading for images</li></ul></p>",
"isOkThreshold": 80,
"isBadThreshold": 240,
"isAbnormalThreshold": 320,
"hasOffenders": true
},
"domains": {