How to check service desk desktop synchronization

I am creating a small PWA where the user can enter a text box, and if for some reason they lose their Internet connection, they can continue to enter text, leave the page, and then after the connection is restored, their last typing will be synchronized.

I am not sure how I can check this on my devbox. I use node js server and work with Chrome and Win10.

If I go offline using Chrome switching on the network tab, requests will be rejected immediately and not queued (I checked that this was not just a problem using examples of synchronizing the background from the Chrome developers page), Windows 10 will also not allow itโ€™s very easy for me to disconnect from a wired connection, and even if I did, the server is still running on localhost, so could I make requests correctly?

Is it best to deploy it somewhere like GitHub pages and then remove my Ethernet cable? I donโ€™t know a bit how I can verify this.

+4
source share
1 answer

Switching the network throttling mode to offline has no effect in either Chrome or Chrome Mobile.

Chrome devtools, .

ref: Chromium Issue 609081

Chrome 63 DevTools > Application > Service Worker > Sync

ref: Chrome 63:

sync Chrome Mobile ( ) , .

Windows 10 803803

0

Source: https://habr.com/ru/post/1673526/


All Articles