From 95031c8eebd181282d826353337beed99e76414e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 13 Sep 2019 19:43:07 +0530 Subject: [PATCH] service-worker: Cache current posts Signed-off-by: Harsh Shandilya --- static/service-worker.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/service-worker.js b/static/service-worker.js index 01752d6..11890fb 100644 --- a/static/service-worker.js +++ b/static/service-worker.js @@ -21,7 +21,11 @@ const precacheResources = [ '/fonts/Inter-UI-Bold.woff2', '/fonts/fa-solid-900.woff', '/fonts/Inter-UI-BoldItalic.woff2', - '/fonts/fa-brands-400.woff2' + '/fonts/fa-brands-400.woff2', + '/posts/how-to-get-involved-in-open-source/index.html', + '/posts/i-m-gonna-blog/index.html', + '/posts/tools-for-effective-rust-development/index.html', + '/posts/understanding-and-resolving-selinux-denials-on-android/index.html', ]; self.addEventListener('install', event => {