Skip to content

OliverJAsh/simple-offline-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple offline blog

A simple offline blog, using ServiceWorker.

Demo

Installation

npm install
npm start

Architecture

  • Server serves a shell. That is, a wrapper for the content.
  • Shell contains logic for fetching and rendering content

There is also a branch with shared rendering. See #1.

Fetch and cache rules

  • Serve from cache or else network. When serving from cache, fetch the newest content from the network to update the content on screen and then revalidate the cache.
  • Home page content is always cached
  • Article page content is optionally cached

About

A simple offline blog, using ServiceWorker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published