Add Images not lazyloaded rule

This commit is contained in:
Gaël Métais
2015-06-20 00:12:47 +02:00
parent 41cdc8783e
commit 2f447da34b
5 changed files with 16 additions and 5 deletions
+9
View File
@@ -910,6 +910,15 @@ var policies = {
"isAbnormalThreshold": 50,
"hasOffenders": true
},
"lazyLoadableImagesBelowTheFold": {
"tool": "phantomas",
"label": "Not lazyloaded images",
"message": "<p>This is the number of images displayed below the fold that could be lazy-loaded. This is an excellent way to accelerate the loading time of an heavy page.</p><p>I recommend using <a href=\"https://github.com/vvo/lazyload\" target=\"_blank\">this lazyloader</a>.</p>",
"isOkThreshold": 1,
"isBadThreshold": 12,
"isAbnormalThreshold": 30,
"hasOffenders": true
},
"notFound": {
"tool": "phantomas",
"label": "404 not found",
+2 -1
View File
@@ -85,7 +85,8 @@
"domains": 3,
"notFound": 3,
"multipleRequests": 2,
"smallRequests": 1
"smallRequests": 1,
"lazyLoadableImagesBelowTheFold": 2
}
},
"serverConfig": {