Resilient JS

Created on 2023-01-10T15:12:27-06:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

JavaScript tool to make a website "more resilient."

Core idea is to install a service worker on a website which hooks in to attempts to download content. Content is then fetched using a policy which can attempt to pull from the host site or one or more alternative mirrors.

The page is intended to keep working when the main website goes down.

Content is either fetched and served from cache on failure or served from cache and queued for updating.