Skip to content

Add offline usage using a service worker #194

@saisilinus

Description

@saisilinus

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions