use preload header with nopush for repeat visitors
This commit is contained in:
parent
12c7314950
commit
6b26326db5
@ -73,7 +73,7 @@ http {
|
||||
if_modified_since before;
|
||||
|
||||
map $http_cookie $preload_resources {
|
||||
"~*__Host-preload=1" "";
|
||||
"~*__Host-preload=1" "<{{path|/main.css}}>; rel=preload; nopush; as=style; integrity={{integrity|/main.css}}, </fonts/roboto-v29-regular-latin.woff2>; rel=preload; nopush; as=font; crossorigin, </fonts/roboto-v29-bold-latin.woff2>; rel=preload; nopush; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; nopush; as=image";
|
||||
default "<{{path|/main.css}}>; rel=preload; as=style; integrity={{integrity|/main.css}}, </fonts/roboto-v29-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v29-bold-latin.woff2>; rel=preload; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; as=image";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user