Enable css preload/push
Alan Pearce alan@alanpearce.eu
Mon, 18 Jun 2018 20:54:25 +0200
1 files changed, 9 insertions(+), 1 deletions(-)
jump to
M netlify.toml → netlify.toml
@@ -35,4 +35,12 @@ [[redirects]] from = "http://alanpearce.co.uk/*" to = "https://www.alanpearce.uk/:splat" status = 301 - force = true+ force = true + +[[headers]] + for = "/*" + [headers.values] + Link = ''' +</css/poole.css>; rel=preload; as=stylesheet, +</css/syntax.css>; rel=preload; as=stylesheet, +</css/hyde.css>; rel=preload; as=stylesheet'''