From 3f098cd33ac21c061e514c663a9954cd516270a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?=
Date: Wed, 30 Dec 2020 00:37:33 +0100
Subject: [PATCH] Give less score weight to requests number
---
lib/metadata/policies.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js
index 891daf5..4231be3 100644
--- a/lib/metadata/policies.js
+++ b/lib/metadata/policies.js
@@ -810,10 +810,10 @@ var policies = {
"totalRequests": {
"tool": "redownload",
"label": "Requests number",
- "message": "Each request slows down the page loading, especially on the protocol HTTP/1, but also on HTTP/2.
There are several technics to reduce their number:
- Concatenate JS files
- Concatenate CSS files
- Embed or inline small JS or CSS files in the HTML
- Create sprites
- Base64 encode small images in HTML or stylesheets
- Use lazyloading for images
",
- "isOkThreshold": 50,
- "isBadThreshold": 150,
- "isAbnormalThreshold": 250,
+ "message": "Each request slows down the page loading, especially on the protocol HTTP/1, but also a little on HTTP/2.
There are several technics to reduce their number:
- Concatenate JS files
- Concatenate CSS files
- Embed or inline small JS or CSS files in the HTML
- Create sprites
- Base64 encode small images in HTML or stylesheets
- Use lazyloading for images
",
+ "isOkThreshold": 80,
+ "isBadThreshold": 240,
+ "isAbnormalThreshold": 320,
"hasOffenders": true
},
"domains": {