site optimization

This commit is contained in:
2019-12-18 18:42:27 +01:00
committed by smuddy
parent ea24d1fbb3
commit 215c4786fe
3 changed files with 14 additions and 3 deletions

View File

@@ -15,6 +15,17 @@
"source": "**", "source": "**",
"destination": "/index.html" "destination": "/index.html"
} }
],
"headers": [
{
"source": "**/*.@(js|css)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=846000"
}
]
}
] ]
} }
} }

View File

@@ -1,4 +1,4 @@
<app-navigation></app-navigation> <app-navigation></app-navigation>
<div class="content"> <main class="content">
<router-outlet></router-outlet> <router-outlet></router-outlet>
</div> </main>

View File

@@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="de">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Wgenerator</title> <title>Wgenerator</title>