Web App Slow Only Through the WAF — Stripped gzip and a Per-Connection Throttle
Pages took 40 to 50 seconds to load, yet the same files left the server 60 times faster on loopback. The WAF in front of the app was serving CSS, JS and JSON uncompressed and capping every TCP connection at about 400 Kbps. How to prove each problem with curl, why “no bandwidth limit is configured” was the wrong answer, and why one good test after a fix is not proof.