From 05fd4531e22b9ceca8687ba4a401b7f6aa77b031 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Tue, 17 Jan 2017 16:53:53 +0800 Subject: [PATCH] fix(service-worker): too aggressive image caching --- _config.init.yml | 3 +-- _config.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/_config.init.yml b/_config.init.yml index a9bb7981e..eb5943f72 100644 --- a/_config.init.yml +++ b/_config.init.yml @@ -168,8 +168,7 @@ primary_color: "#ff00b4" service_worker: enabled: true files: - - "**/*.{css,html,jpg,gif,png,svg}" - - "**/img/**.*" + - "**/*.{css,html,jpg,gif,png,svg,woff,woff2}" - "**/js/**.js" # Google Analytics tracking code diff --git a/_config.yml b/_config.yml index 85df43ce3..da3849e56 100644 --- a/_config.yml +++ b/_config.yml @@ -168,8 +168,7 @@ colors: service_worker: enabled: true files: - - "**/*.{css,html,jpg,gif,png,svg}" - - "**/img/**.*" + - "**/*.{css,html,jpg,gif,png,svg,woff,woff2}" - "**/js/**.js" # Google Analytics tracking code