{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"sw precache","type":"basic","slug":"sw-precache","excerpt":"","body":"A node module to generate service worker code that will precache specific resources. - [GoogleChrome/sw-precache](https://github.com/GoogleChrome/sw-precache)\n\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"sw-precache & gulp\"\n}\n[/block]\nsw-precache is already configured in your gulpfile.js and it reads its configuration from `precache-config.json`.\nYou do not have to restart `gulp watch` after modifying the content of `precache-config.json`.\n\nBy default, we are caching the app shell structure, fonts and the last version of your assets (JavaScript & CSS).\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Runtime Caching\"\n}\n[/block]\nRuntime Caching allows you to configure [sw-toolbox]","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"57ffd85f755a2e1700c2bb22","__v":0,"user":"567082433a32d20d00c45cab","githubsync":"","project":"567083021dabd80d00b122ae","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Progressive Web App","slug":"progressive-web-app","order":3,"from_sync":false,"reference":false,"_id":"57ffd85f755a2e1700c2bb09","version":"57ffd85f755a2e1700c2bb05","project":"567083021dabd80d00b122ae","__v":0,"createdAt":"2016-07-21T15:23:31.032Z"},"parentDoc":null,"createdAt":"2016-07-21T15:34:58.609Z","version":{"version":"3.4","version_clean":"3.4.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["57ffd85f755a2e1700c2bb06","57ffd85f755a2e1700c2bb07","57ffd85f755a2e1700c2bb08","57ffd85f755a2e1700c2bb09","57ffd85f755a2e1700c2bb0a","57ffd85f755a2e1700c2bb0b","57ffd85f755a2e1700c2bb0c","57ffd85f755a2e1700c2bb0d"],"_id":"57ffd85f755a2e1700c2bb05","project":"567083021dabd80d00b122ae","releaseDate":"2016-10-13T18:54:23.018Z","__v":1,"createdAt":"2016-10-13T18:54:23.018Z"}}
A node module to generate service worker code that will precache specific resources. - [GoogleChrome/sw-precache](https://github.com/GoogleChrome/sw-precache) [block:api-header] { "type": "basic", "title": "sw-precache & gulp" } [/block] sw-precache is already configured in your gulpfile.js and it reads its configuration from `precache-config.json`. You do not have to restart `gulp watch` after modifying the content of `precache-config.json`. By default, we are caching the app shell structure, fonts and the last version of your assets (JavaScript & CSS). [block:api-header] { "type": "basic", "title": "Runtime Caching" } [/block] Runtime Caching allows you to configure [sw-toolbox]