Is it possible to filter options requests in chrome inspector?
I'm building a web application which uses CORS to communicate with it's server.
This means that every request is preceded by one with OPTIONS method.
Is it possible to filter those out in inspector? It makes a lot of unnecessary clutter on network tab.
Yes, you can use -method:OPTIONS
in the filter of the Network panel to show all methods apart from ones with type OPTIONS
. If you omit the preceeding -
, it will only show methods of type OPTIONS
.
Example
Before:
After:
You can read more about filtering in the Network panel here.