Skip to content

begin-examples/pwa-workbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progressive Web App (PWA)

This example demonstrates a progressive web app that deploys a service worker with no bundling, transpiling, or complicated build process. It is based on the Workbox library example.

Deploy your own

Deploy to Begin

Deploy your own clone of this app to Begin!

Getting started

  • Install dependencies: npm install
  • Start the local dev server: npm start

Service Worker Cache Manifest

This example uses two strategies to generate the cache manifest.

  • For fingerprinted static assets in the public folder Begin generates a manifest called static.json that can be queried to cache the fingerprinted assets.
  • For pages served from lambda endpoints that do not have fingerprinted file names a timestamp is generated and stored in the shared folder to be used for a cache revision number.

Reference

  • Quickstart - basics on working locally, project structure, deploying, and accessing your Begin app
  • Creating new routes - basics on expanding the capabilities of your app
  • Learn.begin.com - in-depth guides on building serverless applications

Head to docs.begin.com for more information!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published