From 0cac0c3a20353399853f3306f8a52354e3daa6a2 Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 2 Nov 2019 12:34:21 -0300 Subject: [PATCH] add arasaac symbols --- sw-precache-config.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sw-precache-config.js b/sw-precache-config.js index 47b2ce960..76e749f8d 100644 --- a/sw-precache-config.js +++ b/sw-precache-config.js @@ -42,6 +42,24 @@ module.exports = { name: 'symbols-mulberry' } } + }, + { + urlPattern: /\/symbols\/arasaac/, + handler: 'cacheFirst', + options: { + cache: { + name: 'symbols-arasaac' + } + } + }, + { + urlPattern: /\/symbols\/cboard/, + handler: 'cacheFirst', + options: { + cache: { + name: 'symbols-cboard' + } + } } ], dontCacheBustUrlsMatching: /\.\w{8}\./,