Tagged “service-worker”
-
Writing Service Workers in ReScript
bucklescript documentation progressive-web-app reasonml rescript service-workerDoes your SPA work fully offline? Would you like to define a caching strategy in an exhaustively type-safe way? If so, you might be interested in this Service Worker binding for ReScript (formerly BuckleScript / ReasonML). This article documents the binding by example, including two different caching strategies and a service worker registration example.
See all tags.