Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const cacheVersion = 1;
- const currentCaches = {
- font: `font-cache-v${cacheVersion}`
- };
- //Starter example, caching some files
- const cacheUrls = [
- '/',
- '/js/app.js',
- '/fonts/roboto/Roboto-Regular.woff2'
- ];
Add Comment
Please, Sign In to add comment