Peeyush Singh's Blog
  • Home
  • Books
  • Bookmarks
  • Read Later
  • RSS
  • Linkedin
  • Dev
  • Github
Sign in Subscribe

pwa

A collection of 2 posts
PWA Caching Strategies
dev

PWA Caching Strategies

Caching strategies determine how a PWA behaves when the app makes a network request and how it deals with network failures. Workbox is a commonly used library for creating PWA; workbox-strategies provides the following caching strategies. Stale-While-Revalidate The service worker will serve the cached assets first, and update the cache
Dec 27, 2020 2 min read
PWA with create-react-app
dev

PWA with create-react-app

Setting up PWA with create-react-app and typescript. Install create-react-app if you haven't already. npm i create-react-app -g Create a react app with TypeScript and PWA support. Also, we are using NPM as package manager. Alternatively, you may use yarn. create-react-app frontend --use-npm --template cra-template-pwa-typescript To build the project
Dec 24, 2020 1 min read
Page 1 of 1
Peeyush Singh's Blog © 2025
  • Sign up
Powered by Ghost