File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22layout : page
3- title : " Oops! It Looks Like Your ’re Offline"
3+ title : " Oops! It Looks Like You ’re Offline"
44page-class : page--offline
55meta : " CSS Wizardry’s offline content"
66permalink : /offline/
Original file line number Diff line number Diff line change 1- var cacheName = 'csswizardry:0005 ' ;
1+ var cacheName = 'csswizardry:0006 ' ;
22var cacheFiles = [
33 '/' ,
44 '/about/' ,
55 '/services/' ,
66 '/contact/' ,
7+ '/offline/'
8+ '/workshops/' ,
9+ '/speaking/' ,
10+ '/consultancy/' ,
11+ '/code-reviews/' ,
712 '/case-studies/' ,
813 '/case-studies/raspberry-pi-code-club-workshop/' ,
914 '/case-studies/ocado-workshop/' ,
@@ -18,7 +23,6 @@ var cacheFiles = [
1823 '/2015/08/bemit-taking-the-bem-naming-convention-a-step-further/' ,
1924 '/2016/02/mixins-better-for-performance/' ,
2025 '/2016/10/pragmatic-practical-progressive-theming-with-custom-properties/' ,
21- '/offline/'
2226] ;
2327
2428
@@ -62,7 +66,7 @@ self.addEventListener('fetch', function(event) {
6266// Empty out any caches that don’t match the ones listed.
6367self . addEventListener ( 'activate' , function ( event ) {
6468
65- var cacheWhitelist = [ 'csswizardry:0005 ' ] ;
69+ var cacheWhitelist = [ 'csswizardry:0006 ' ] ;
6670
6771 event . waitUntil (
6872 caches . keys ( ) . then ( function ( cacheNames ) {
You can’t perform that action at this time.
0 commit comments