Last updated: Apr 5, 2024
Reading time·2 min
To disable internet connection for a specific site and work offline in Google Chrome:
F12
.If you don't see the Network tab, click on the >> icon and select Network.
Once you select Offline a yellow icon appears next to your Network tab to warn you that you are working in offline mode.
If you refresh the page, you won't be able to connect to the internet.
If you only want to slow your network's speed but not switch it off completely, select one of the throttling options.
Fast 3G and Slow 3G are often used when testing how your site performs on slower mobile devices that don't have good access to the internet.
Note that this approach also works to throttle WebSocket requests.
In previous versions of Chrome, this was not the case.
For example, if you select Slow 3G in your Network panel, click on WS
(Web
Sockets) and select your Messages
tab, you will see that the message transfers
are also throttled.
You can learn more about the related topics by checking out the following tutorials: