Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:config:keep_alive [2016/09/16 13:39] Jackson Zhang |
litespeed_wiki:config:keep_alive [2016/09/16 13:43] Jackson Zhang |
||
---|---|---|---|
Line 2: | Line 2: | ||
LSWS turns on "keep alive" setting by default. There is no "yes/no" "on/off" option in LSWS configuration, however, you can turn it off or control it through "Max Keep-Alive Requests" "Smart Keep-Alive" "Keep-Alive Timeout (secs)" settings (under LSWS Admin Console-> Server -> Tuning -> Connection section). | LSWS turns on "keep alive" setting by default. There is no "yes/no" "on/off" option in LSWS configuration, however, you can turn it off or control it through "Max Keep-Alive Requests" "Smart Keep-Alive" "Keep-Alive Timeout (secs)" settings (under LSWS Admin Console-> Server -> Tuning -> Connection section). | ||
{{ :litespeed_wiki:config:keep-alive.png?nolink&300 |}} | {{ :litespeed_wiki:config:keep-alive.png?nolink&300 |}} | ||
- | Please bear in mind that you don't need to enable "Smart Keep-Alive" to be able to use "Keep-Alive". Actually, "Smart Keep-Alive" is designed to "turn off" Keep-Alive for some types of files, instead of "turning on". For example, set keep-alive for requests of JavaScript, CSS Style Sheet, image files only, excluding other type of files. Since release 5.1.8 , it will only exclude HTML from keep alive. If you would like to Keep-alive everything, better turn off "Smart Keep-Alive". | + | Please bear in mind that you don't need to enable "Smart Keep-Alive" to be able to use "Keep-Alive". Actually, "Smart Keep-Alive" is designed to "turn off" Keep-Alive for some types of files, instead of "turning on". For example, set keep-alive for requests of JavaScript, CSS Style Sheet, image files, excluding other type of files,such as HTML. Since release 5.1.8 , it will only exclude HTML from keep alive. If you would like to Keep-alive everything, better turn off "Smart Keep-Alive". |
"Keep-alive" is server level configuration and can not be controlled at virtual host level. | "Keep-alive" is server level configuration and can not be controlled at virtual host level. |