3 ms·
You can throttle (including completely disable) the internet per tab via devtools in most modern browsers...
by osrec 5y ago
You can throttle (including completely disable) the internet per tab via devtools in most modern browsers...
- jeroenhd 5y agoYou can, and you can also unplug the ethernet cable, but without any user-friendly, ways that are _actually intended_ to do, so it's easy to get wrong. For example: you enable throttling, upload a picture, that picture gets buffered by a serviceworker, you close the tab, therefore closing the dev tools and disabling the throttling you set up, and the serviceworker uploads whatever you resized to the server anyway. Or: the application just tries to upload stuff whenever you open the page, turning the throttling solution into a race between you and your browser. I don't think using dev tools intended to replicate offline-only behaviour are a good way to actually enforce offline-only behaviour.