@@ -10,8 +10,9 @@ Add small description of what this test is.
10
10
11
11
Checks if HTTP requests are redirected to HTTPS.
12
12
A common misstake is to forget to force this redirect for root domain if www . subdomain is used.
13
+ Also checks for HSTS support.
13
14
14
- ### TLS and SSL support
15
+ ### TLS support
15
16
16
17
Checks for Secure encryption support
17
18
* Checks for TLS 1.3 support
@@ -20,22 +21,24 @@ Checks for Secure encryption support
20
21
Checks for Insecure encryption support
21
22
* Checks for TLS 1.1 support
22
23
* Checks for TLS 1.0 support
23
- * Checks for SSL 3.0 support (Require host modification)
24
- * Checks for SSL 2.0 support (Require host modification)
25
24
* Checks if certificate used match website domain
26
25
27
26
### HTTP protocol support
28
27
29
28
* Checks for HTTP/1.1 support
30
29
* Checks for HTTP/2 support
31
- * Checks for HTTP/3 support ( Tested using https://http3check.net/ )
32
- * Checks for Quick support ( Tested using https://http3check.net/ )
30
+ * Checks for HTTP/3 support
33
31
34
32
### IPv6 and IPv4 support
35
33
36
34
* Checks for IPv4 support
37
35
* Checks for IPv6 support
38
36
37
+ ### Content Security Policy (CSP) support
38
+
39
+ * Checks for CSP support
40
+ * Gives CSP recommendation if it could improve 0.75 or more in rating
41
+
39
42
## How are rating being calculated?
40
43
41
44
This section has not been written yet.
@@ -60,10 +63,33 @@ Read more on the [general page for github actions](../getting-started-github-act
60
63
### Setup Locally
61
64
62
65
* Follow [ general local setup steps for this repository] ( ../getting-started-local.md )
63
- * Checking for HTTP/3 and Quick support require access to and from https://http3check.net/ to the url you want to test.
66
+ * It is highly recommended to set ` cache_when_possible ` to ` True ` and to set ` cache_time_delta ` to
67
+ * It is highly recommended to set ` cache_time_delta ` to at least 12 hours (Fail to do so may result in banning of service like github).
68
+
69
+ #### Using NPM package
70
+
71
+ * Download and install Node.js (v1 version 14.x)
72
+ * Download and install Google Chrome browser
73
+ * Download and install Mozilla Firefox browser
74
+ * Install SiteSpeed NPM package ( ` npm install sitespeed.io ` )
75
+ * Set ` sitespeed_use_docker = False ` in your ` config.py `
76
+
77
+ ##### Windows Specific
78
+
79
+ * Allow node to connect through Windows firewall
80
+
81
+ #### Using Docker image
64
82
83
+ * Make sure Docker command is globally accessible on your system.
84
+ * Set ` sitespeed_use_docker = True ` in your ` config.py `
65
85
66
86
## FAQ
67
87
68
- No frequently asked questions yet :)
88
+ ### How to get CSP recommendation for website
89
+ Did you know you can get a CSP recommendation for all/part of your website?
90
+ Do the following and webperf_core will give a CSP recommendation for more than 1 page.
91
+ * Set ` csp_only = True ` in your ` config.py `
92
+ * Point webperf_core to your sitemap or your own list pages you want to test.
69
93
94
+ Example, below will take first 25 items from sitemap:
95
+ ` python default.py -r -t 21 --input-take=25 -i https://nimbleinitiatives.com/sitemap.xml `
0 commit comments