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.
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.