3 ms·
Yeah this pattern can be made to work fine. Main downside is it significantly complicates the front end code compared to just waiting for FE to sync with BE be
by ifwinterco 5mo ago
Yeah this pattern can be made to work fine.
Main downside is it significantly complicates the front end code compared to just waiting for FE to sync with BE before updating
- galaxyLogic 5mo agoWhat if we had a local server running on the same PC, which then relays the request to some shared server on the internet?
- cwillu 5mo agoThat's what a background worker is: a local server managed by the browser and only accessible to pages of the origin domain.
- galaxyLogic 5mo agoI'm thinking using a local http-server instead of web-workers . The local http server would do all the server-logic except also passing data that needs to be shared to a non-local server.