From b7bc4dbadc8b47ab3a2868f47c33cccb4195d516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sat, 20 Jun 2015 15:22:42 +0200 Subject: [PATCH] Made Weight and Requests the first categories because they are the most important --- lib/metadata/scoreProfileGeneric.json | 44 +++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/metadata/scoreProfileGeneric.json b/lib/metadata/scoreProfileGeneric.json index 2a18c37..eed3045 100644 --- a/lib/metadata/scoreProfileGeneric.json +++ b/lib/metadata/scoreProfileGeneric.json @@ -1,5 +1,25 @@ { "categories": { + "pageWeight": { + "label": "Page weight", + "policies": { + "totalWeight": 5, + "imageOptimization": 2, + "gzipCompression": 2, + "fileMinification": 1 + } + }, + "requests": { + "label": "Requests", + "policies": { + "totalRequests": 5, + "domains": 3, + "notFound": 3, + "multipleRequests": 2, + "smallRequests": 1, + "lazyLoadableImagesBelowTheFold": 2 + } + }, "domComplexity": { "label": "DOM complexity", "policies": { @@ -69,26 +89,6 @@ "cssRedundantChildNodesSelectors": 1 } }, - "pageWeight": { - "label": "Page weight", - "policies": { - "totalWeight": 5, - "imageOptimization": 2, - "gzipCompression": 2, - "fileMinification": 1 - } - }, - "requests": { - "label": "Requests", - "policies": { - "totalRequests": 5, - "domains": 3, - "notFound": 3, - "multipleRequests": 2, - "smallRequests": 1, - "lazyLoadableImagesBelowTheFold": 2 - } - }, "serverConfig": { "label": "Server config", "policies": { @@ -100,6 +100,8 @@ } }, "globalScore": { + "pageWeight": 3, + "requests": 3, "domComplexity": 2, "domManipulations": 2, "scroll": 1, @@ -108,8 +110,6 @@ "cssSyntaxError": 1, "cssComplexity": 1, "badCSS": 1, - "pageWeight": 3, - "requests": 3, "serverConfig": 1 } } \ No newline at end of file