fix preload and added preconnect

This commit is contained in:
Felix Schulze 2019-11-05 18:48:22 +01:00
parent a4fab06ab6
commit b8e1a27deb
3 changed files with 18 additions and 8 deletions

View File

@ -10,10 +10,14 @@
<meta name="author" content="Felix Schulze"> <meta name="author" content="Felix Schulze">
<meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="public"> <meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="public">
<link rel='preconnect' href='https://fonts.gstatic.com'>
<link rel='preconnect' href='https://adservice.google.com'>
<link rel='preconnect' href='https://adservice.google.se'>
<link rel='preconnect' href='https://cdnjs.cloudflare.com'>
<link rel='preconnect' href='https://pagead2.googlesyndication.com'>
<script async src="assets/js/modernizer-webp.js"></script> <script async src="assets/js/modernizer-webp.js"></script>
<link rel="stylesheet" async href="assets/css/main.min.css"> <link rel="stylesheet" async href="assets/css/main.min.css">
<link rel='preload' async href='assets/img/background85.webp'> <link rel='preload' async href='assets/img/background85.webp' as='image' type='image/webp'>
<link rel="stylesheet" async href="https://fonts.googleapis.com/css?family=Roboto&display=swap"> <link rel="stylesheet" async href="https://fonts.googleapis.com/css?family=Roboto&display=swap">
<link rel="stylesheet" defer href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" defer href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" defer href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"> <link rel="stylesheet" defer href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">

View File

@ -16,12 +16,14 @@ echo "
<meta property='og:description' content='Beräkna ditt gymnasie meritvärde inför univeritet eller högskola'> <meta property='og:description' content='Beräkna ditt gymnasie meritvärde inför univeritet eller högskola'>
<meta name='title' content='Räkna ut ditt meritvärde'> <meta name='title' content='Räkna ut ditt meritvärde'>
<link rel='preconnect' href='https://fonts.gstatic.com'>
<link rel='preconnect' href='https://adservice.google.com'>
<link rel='preconnect' href='https://adservice.google.se'>
<link rel='preconnect' href='https://cdnjs.cloudflare.com'>
<link rel='preconnect' href='https://pagead2.googlesyndication.com'>
<script async src='assets/js/modernizer-webp.js'></script> <script async src='assets/js/modernizer-webp.js'></script>
<link rel='stylesheet' async href='assets/css/main.min.css'> <link rel='stylesheet' async href='assets/css/main.min.css'>
<link rel='preload' async href='assets/img/background85.webp'> <link rel='preload' async href='assets/img/background85.webp' as='image' type='image/webp'>
<link rel='stylesheet' async href='https://fonts.googleapis.com/css?family=Roboto&display=swap'> <link rel='stylesheet' async href='https://fonts.googleapis.com/css?family=Roboto&display=swap'>
<link rel='stylesheet' defer href='https://fonts.googleapis.com/icon?family=Material+Icons'> <link rel='stylesheet' defer href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link rel='stylesheet' defer href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'> <link rel='stylesheet' defer href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'>

View File

@ -17,10 +17,14 @@
<meta property="og:description" content="Beräkna ditt gymnasie meritvärde inför univeritet eller högskola"> <meta property="og:description" content="Beräkna ditt gymnasie meritvärde inför univeritet eller högskola">
<meta name="title" content="Räkna ut ditt meritvärde"> <meta name="title" content="Räkna ut ditt meritvärde">
<link rel='preconnect' href='https://fonts.gstatic.com'>
<link rel='preconnect' href='https://adservice.google.com'>
<link rel='preconnect' href='https://adservice.google.se'>
<link rel='preconnect' href='https://cdnjs.cloudflare.com'>
<link rel='preconnect' href='https://pagead2.googlesyndication.com'>
<script async src="assets/js/modernizer-webp.js"></script> <script async src="assets/js/modernizer-webp.js"></script>
<link rel="stylesheet" async href="assets/css/main.min.css"> <link rel="stylesheet" async href="assets/css/main.min.css">
<link rel='preload' async href='assets/img/background85.webp'> <link rel='preload' async href='assets/img/background85.webp' as='image' type='image/webp'>
<link rel="stylesheet" async href="https://fonts.googleapis.com/css?family=Roboto&display=swap"> <link rel="stylesheet" async href="https://fonts.googleapis.com/css?family=Roboto&display=swap">
<link rel="stylesheet" defer href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" defer href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" defer href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"> <link rel="stylesheet" defer href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">