Browse Source

Give less score weight to requests number

Gaël Métais 4 years ago
parent
commit
3f098cd33a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      lib/metadata/policies.js

+ 4 - 4
lib/metadata/policies.js

@@ -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": {