Skip to content

Instantly share code, notes, and snippets.

@webmaxru
Created October 2, 2017 14:24
Show Gist options
  • Save webmaxru/0608f7c224d9600e1ce132a09afb23ac to your computer and use it in GitHub Desktop.
Save webmaxru/0608f7c224d9600e1ce132a09afb23ac to your computer and use it in GitHub Desktop.
ngsw - control file
{
"configVersion": 1,
"index": "/index.html",
"appData": {
"test": true
},
"assetGroups": [
{
"name": "appshell",
"installMode": "prefetch",
"updateMode": "prefetch",
"urls": [
"/assets/favicon/android-chrome-192x192.png",
"/assets/favicon/android-chrome-512x512.png",
"/assets/favicon/apple-touch-icon.png",
"/assets/favicon/favicon-16x16.png",
"/assets/favicon/favicon-32x32.png",
"/assets/images/logo.png",
"/index.html",
"/inline.049f6233f4757d7624dc.bundle.js",
"/main.95c020254ec8ce8f11e0.bundle.js",
"/ngsw-worker.js",
"/polyfills.82f78c4a2c2d400f3ba8.bundle.js",
"/styles.f8e730b2ae11f306a687.bundle.css",
"/vendor.f13bf7e8c70cf24b81ed.bundle.js"
],
"patterns": [
"https:\\/\\/fonts\\.googleapis\\.com\\/css?family=Material+Icons",
"https:\\/\\/fonts\\.gstatic\\.com\\/s\\/materialicons\\/v29\\/2fcrYFNaTjcS6g4U3t-Y5UEw0lE80llgEseQY3FEmqw\\.woff2"
]
}
],
"dataGroups": [
{
"name": "api-freshness",
"patterns": [
"\\/timeline"
],
"strategy": "freshness",
"maxSize": 100,
"maxAge": 259200000,
"timeoutMs": 60000,
"version": 1
},
{
"name": "api-performance",
"patterns": [
"\\/favorites"
],
"strategy": "performance",
"maxSize": 100,
"maxAge": 259200000,
"timeoutMs": 60000,
"version": 1
}
],
"hashTable": {
"/assets/favicon/android-chrome-192x192.png": "f4d920eb753eb1db89d4787a67834a9e6ed5ae80",
"/assets/favicon/android-chrome-512x512.png": "dbbbe0b1ca82a7ab9d3545d9da45e2b6c1ebe319",
"/assets/favicon/apple-touch-icon.png": "1ab65b1a0a89654ac89c62a2c76a6e0c9189821e",
"/assets/favicon/favicon-16x16.png": "a153ae82ddbafe3325703ae3088b6cfe1e453e18",
"/assets/favicon/favicon-32x32.png": "5e6c0c6faee6157c1ead07395cd2f077e1a385de",
"/assets/images/logo.png": "90a19d7780c01f72e50b39f2422b2c7ae563178f"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment