diff options
author | Alan Pearce | 2018-06-18 20:54:25 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-18 21:01:45 +0200 |
commit | 8f441b309f5e53283ddf914ed4d1266438794544 (patch) | |
tree | 1597931e6cba53f3404719deb5a2a2ca65c4e99f /netlify.toml | |
parent | 9ce5443507d93e6bd29fdab3269965d3cdff28ca (diff) | |
download | website-8f441b309f5e53283ddf914ed4d1266438794544.tar.lz website-8f441b309f5e53283ddf914ed4d1266438794544.tar.zst website-8f441b309f5e53283ddf914ed4d1266438794544.zip |
Enable css preload/push
Diffstat (limited to 'netlify.toml')
-rw-r--r-- | netlify.toml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml index daedd90..bbd316c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -35,4 +35,12 @@ from = "http://alanpearce.co.uk/*" to = "https://www.alanpearce.uk/:splat" status = 301 - force = true \ No newline at end of file + 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''' \ No newline at end of file |