Offline page
diff --git a/offline.html b/offline.html
new file mode 100644
index 0000000..ef3a192
--- /dev/null
+++ b/offline.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <title>Sense connexió</title>
+  </head>
+  <body>
+    <p>No podem carregar aquesta pàgina perquè estàs sense connexió.</p>
+  </body>
+</html>
diff --git a/sw.js b/sw.js
index 65d38b9..6dcaaa7 100644
--- a/sw.js
+++ b/sw.js
@@ -1,4 +1,4 @@
-var CACHE_NAME = 'linia-cache-v1.0.1';
+var CACHE_NAME = 'linia-cache-v1.0.2';
 var urlsToCache = [
   '.',
   'js/index.js',
@@ -6,7 +6,8 @@
   'info.php?view=0',
   'info.php?view=1',
   'js/views/l9n.js',
-  'css/views/l9n.css'
+  'css/views/l9n.css',
+  'offline.html'
 ];
 
 self.addEventListener('install', function(event) {
@@ -34,6 +35,7 @@
       return fetch(event.request);
     }).catch(err => {
       console.error(err);
+      return caches.match('offline.html');
     })
   );
 });