feat(aio): cache external resources in the ServiceWorker

Cache resources that are necessary for displaying the basic pages when offline.
This commit is contained in:
Georgios Kalpakas
2017-04-25 17:55:28 +03:00
committed by Pete Bacon Darwin
parent a9027a2570
commit 749bcf3d9c
3 changed files with 14 additions and 1 deletions

View File

@ -20,9 +20,11 @@
<link rel="icon" type="image/png" href="assets/images/favicons/favicon-16x16.png"
sizes="16x16">
<!-- NOTE: These need to be kept in sync with `ngsw-manifest.json`. -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"rel="stylesheet">
<!-- -->
<link rel="manifest" href="pwa-manifest.json">
<meta name="theme-color" content="#1976d2">