var toolbox = require('sw-toolbox');
var pagePaths = ['/','/xxx','/about','/help']
pagePaths.forEach(page=>toolbox.router.get(page,toolbox.networkFirst));
toolbox.precache(pagePaths);
I want this paths precached with cookie ,I had read the docs and counld not find some options like
I want this paths precached with cookie ,I had read the docs and counld not find some options like
toolbox.precache(pagePaths, { credentials:'same-origin' });