Skip to content

Commit d95223e

Browse files
committed
Reduce amount of offline content to a more sensible number
1 parent 4b4e300 commit d95223e

3 files changed

Lines changed: 4 additions & 17 deletions

File tree

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Write an awesome description for your new site here. You can edit
55
baseurl: ""
66
url: "https://csswizardry.com"
77
future: true
8-
sw: "0009"
8+
sw: "0010"
99

1010
# Build settings
1111
markdown: kramdown

offline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ back:
1313
* [head to the homepage](/);
1414
* [read a little more about CSS Wizardry](/about/);
1515
* [learn about the services I offer](/services/);
16-
* [see what I’ve done for other companies](/case-studies/), or;
16+
* [see how I helped Ocado level up their CSS skills](/case-studies/ocado-workshop/), or;
1717
* [find out how best to get in touch with me](/contact/).
1818

1919
Or if you’d like to read something:

sw.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1-
var cacheName = 'csswizardry:0009';
1+
var cacheName = 'csswizardry:0010';
22
var cacheFiles = [
33
'/',
44
'/about/',
55
'/services/',
66
'/contact/',
77
'/offline/',
8-
'/workshops/',
9-
'/speaking/',
10-
'/consultancy/',
11-
'/code-reviews/',
12-
'/case-studies/',
13-
'/case-studies/raspberry-pi-code-club-workshop/',
148
'/case-studies/ocado-workshop/',
15-
'/case-studies/nhs-nhsx-elearning-platform/',
16-
'/case-studies/better-collective/',
17-
'/case-studies/madgex-consultancy-workshop/',
18-
'/case-studies/bbc-workshop/',
19-
'/case-studies/bskyb/',
20-
'/case-studies/css-wizardry/',
21-
'/case-studies/financial-times/',
229
'/2015/03/more-transparent-ui-code-with-namespaces/',
2310
'/2015/08/bemit-taking-the-bem-naming-convention-a-step-further/',
2411
'/2016/02/mixins-better-for-performance/',
@@ -66,7 +53,7 @@ self.addEventListener('fetch', function(event) {
6653
// Empty out any caches that don’t match the ones listed.
6754
self.addEventListener('activate', function(event) {
6855

69-
var cacheWhitelist = ['csswizardry:0009'];
56+
var cacheWhitelist = ['csswizardry:0010'];
7057

7158
event.waitUntil(
7259
caches.keys().then(function(cacheNames) {

0 commit comments

Comments
 (0)