-
Notifications
You must be signed in to change notification settings - Fork 134
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
fix or replace offline-plugin #4640
Comments
Yes it does work but u have to edit https://github.com/HSLdevcom/digitransit-ui/blob/v2/app/buildInfo.js#L2 to make it work. |
Is that deployed somewhere? |
https://reittiopas.hsl.fi/etusivu for example. Also, if I don't remember wrong, I think having a service worker was a requirement for PWAs to work. |
Indeed, there is a service worker in place. How do I check if the offline support works? When turning off my laptops internet connection and reloading, I can't use the Reittiopas website offline. |
Oh, I don't think it does work offline necessarily. The service worker is just there so we have more control over the caching behaviour and for the PWA support. |
Follow-up of #4607.
offline-plugin
doesn't work with Webpack 5 and seems unmaintained: NekR/offline-plugin#497Personally, I haven't seen the offline caching work with
digitransit-ui
. Has someone seen it work recently?The text was updated successfully, but these errors were encountered: