Use fixed strings for maximum speed.
Section: Performance patterns
Prefer literal search when possible
bash
bash
rg -F 'Content-Type:' .Explanation
Literal search avoids regex overhead and is ideal for exact tokens.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Performance patterns
Tune the number of worker threads
Control ripgrep parallelism explicitly.
Inspect filtering decisions
Show diagnostics about ignores, globs, and traversal.