Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
litespeed_wiki:ttfb [2018/11/12 16:40] Erwin Venekamp [Insufficient caching] |
litespeed_wiki:ttfb [2018/11/12 16:42] Erwin Venekamp [ModSecurity] |
||
---|---|---|---|
Line 23: | Line 23: | ||
===== ModSecurity ===== | ===== ModSecurity ===== | ||
- | Sometimes, having a large number of ModSecurity rules, or very complex ones, can lead to a significant rise in TTFB. This is particularly true with the ''SecRequestBodyAccess On'' directive. When diagnosing high TTFB issues, you may want to temporarily disable ModSecurity, to rule this possibility out. | + | Sometimes, having a large number of ModSecurity rules, or very complex ones, can lead to a significant rise in TTFB. This is particularly true with the ''SecRequestBodyAccess On'' directive, and rulesets that use RBL DNS lookups for requests. When diagnosing high TTFB issues, you may want to temporarily disable ModSecurity, to rule this possibility out. |
===== Slow DNS ===== | ===== Slow DNS ===== | ||
Rarely, a slow DNS server may be responsible for a high TTFB, especially in artificial benchmarks, where DNS is not cached. Several websites are available to test the speed of your site's DNS response, such as https://www.dnsperf.com/dns-speed-benchmark | Rarely, a slow DNS server may be responsible for a high TTFB, especially in artificial benchmarks, where DNS is not cached. Several websites are available to test the speed of your site's DNS response, such as https://www.dnsperf.com/dns-speed-benchmark |