posit-dev / posit-dev/shinylive
Feature suggestion: Be able to use cache when offline from service workers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 251
- Forks
- 25
- Avg merge
- 19m
- Merged PRs (30d)
- 2
Description
I see that you already use service workers in shinylive. It would be awesome if shinylive could also work offline using the previous loaded cache of the first online connection.
The idea from @udurraniAtPresage is attempted here https://github.com/udurraniAtPresage/shinylive_app, but as we couldn't make it work I build here https://github.com/jrosell/playground4offline a simple example with an offline static html site of what is the goal to achieve with shinylive, if possible.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Shinylive's existing service-worker implementation and the linked shinylive_app and playground4offline examples. Done means a Shinylive app can load its previously cached resources and work offline after an initial online connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100