LoginSignup
0
0

More than 3 years have passed since last update.

Chrome DevToolsのNetworkから特定パスのリクエストを除外したい

Posted at

昨今のフロントエンドのツールを使っていると開発中はpingを送るためネットワークログが埋まるし流れる。開発中にはほぼ意味のないログなので除外したい。

DevToolsのFilterを使う。-hogeなどのようにハイフンをつけることで特定の文字つを含んだものを除外できる。また-domain:example.comのように指定のプロパティで特定ドメインだけを除外できる。これはよくあるチャットサポートのツールなどを使っているときに使える。

なおハイフンなしのdomain:example.comにすれば除外ではなく絞り込みになる。

https://developers.google.com/web/tools/chrome-devtools/network/imgs/filter-text-box.svg

参考: https://developers.google.com/web/tools/chrome-devtools/network/reference#filter

next.jsの場合は-on-demand-entries-pingとしておけば快適になった

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0