optimize image and imported link (defer/async)

This commit is contained in:
Felix Schulze 2019-11-05 18:28:27 +01:00
parent 4dfcf1a5a9
commit a4fab06ab6
5 changed files with 22 additions and 21 deletions

View File

@ -11,13 +11,14 @@
<meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="public">
<link rel="stylesheet" async href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" async href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
<link rel="stylesheet" async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" async href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css">
<script async src="assets/js/modernizer-webp.js"></script>
<link rel="stylesheet" async href="assets/css/main.min.css">
<script src="assets/js/modernizer-webp.js"></script>
<script data-ad-client="ca-pub-5143923140938916" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<link rel='preload' async href='assets/img/background85.webp'>
<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://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/materialize/0.98.2/css/materialize.min.css">
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!--[if lt IE 9]>

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -19,15 +19,14 @@ echo "
<link rel='stylesheet' async href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link rel='stylesheet' async href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' type='text/css'>
<link rel='stylesheet' async href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'>
<link rel='stylesheet' async href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css'>
<script async src='assets/js/modernizer-webp.js'></script>
<link rel='stylesheet' async href='assets/css/main.min.css'>
<script src='assets/js/modernizer-webp.js'></script>
<script data-ad-client='ca-pub-5143923140938916' async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
<link rel='preload' async href='assets/img/background85.webp'>
<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://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/materialize/0.98.2/css/materialize.min.css'>
<script data-ad-client='ca-pub-5143923140938916' defer src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
<!--[if lt IE 9]>
<script src='https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js'></script>

View File

@ -18,13 +18,14 @@
<meta name="title" content="Räkna ut ditt meritvärde">
<link rel="stylesheet" async href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" async href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
<link rel="stylesheet" async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" async href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css">
<script async src="assets/js/modernizer-webp.js"></script>
<link rel="stylesheet" async href="assets/css/main.min.css">
<script src="assets/js/modernizer-webp.js"></script>
<script data-ad-client="ca-pub-5143923140938916" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<link rel='preload' async href='assets/img/background85.webp'>
<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://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/materialize/0.98.2/css/materialize.min.css">
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>