Lucky for you, UpUp is serving you content even when you are on a plane flying over the Pacific, or 20,000 leagues under the sea.
To add the functionality you’re seeing now, we simply added a small piece of code to our site:
<script src="upup.min.js"></script>
<script>
UpUp.start({
'content-url': 'offline.html', // show this page to offline users
'assets': // Save the following files to cache as well
['css/offline.css', 'css/bootstrap.min.css', 'img/mb-offline.png', 'img/logo.png', 'img/sunset.jpg']
});
</script>