It seems that “Block URL” in the devtools does not block URL.
I setup a small app as a demo with further explanation https://stackblitz.com/edit/express-simple-xp6k8h
Note: Stackblitz (the platform that hosts the demo) install a service worker, but even with no service worker, the actual behavior is the same
Scenario:
- Open the devtools
- Block the URL
/foo
from the network tab - Refresh the preview pane
- See the server’s logs
Expected result
When URL is blocked in the devtools, no server logs should be displayed.
Actual result
When URL is blocked in the devtools, server logs are displayed.