close
The Wayback Machine - https://web.archive.org/web/20210918093022/https://github.com/topics/stale-while-revalidate
Skip to content
#

stale-while-revalidate

Here are 15 public repositories matching this topic...

swr
huozhi
huozhi commented Sep 3, 2021

Currently use scripts to install node_modules and next inside examples, and run them with require hooks to debug with local swr assets. It's not deal since it's too complicated and not scalable.

Goal

  • Find a better way to debug with example / test case with local swr
  • Less dependencies and easy setup

The web app informs users about all the launches by SpaceX and its rockets. It queries SpaceX's GraphQL API for the data. API responses are dynamically cached within service-worker with stale-while-revalidate approach. It's a PWA: is installable and works offline. It's developed using TDD approach and is completely typed with TypeScript.

  • Updated Oct 16, 2020
  • TypeScript

Improve this page

Add a description, image, and links to the stale-while-revalidate topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stale-while-revalidate topic, visit your repo's landing page and select "manage topics."

Learn more