Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add offline usage using a service worker #194

Open
saisilinus opened this issue Jan 23, 2024 · 0 comments
Open

Add offline usage using a service worker #194

saisilinus opened this issue Jan 23, 2024 · 0 comments
Assignees
Labels
feature New feature or request JavaScript

Comments

@saisilinus
Copy link
Collaborator

Problem Statement

Currently, you need an active internet connection to access the app via the #ASKnet website. Users can alternatively run the app locally by cloning the repository and running on docker but that requires someone with technical expertise using docker and Git. A better alternative would be to integrate the offline feature in the web app so that users only need an internet connection the first time they visit the platform. They can then use a cache version of the app on future visits and update their cache when they have internet access.

Technical Specs

Service workers act as proxy servers that sit between the browser and the server. They can intercept browser requests and return cached pages if a user is offline. The proposed solution is to add a service worker to the app that caches the platform when connected to a network and returns the cached version if offline.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request JavaScript
Projects
None yet
Development

No branches or pull requests

1 participant