Fix server push and use Link header to load CSS

Nginx with http2_push_preload on will convert the Link header to server
pushes, so we use it to load css.
This commit is contained in:
Harvey Tindall
2021-01-15 18:57:12 +00:00
parent ca0889aaab
commit ffc62574ec
4 changed files with 33 additions and 10 deletions
+1 -1
View File
@@ -232,7 +232,7 @@
"requires_restart": true,
"type": "bool",
"value": false,
"description": "Enable TLS, and by extension HTTP2. This enables server push, where required files are pushed to the web browser before they request them, allowing quicker page loads."
"description": "Enable TLS."
},
"tls_port": {
"name": "TLS Port",