Add to /etc/sysctl.conf
vm.swappiness=0
vm.vfs_cache_pressure=50
Add noatime flag to lines in /etc/fstab
vm.swappiness=0
vm.vfs_cache_pressure=50
Add noatime flag to lines in /etc/fstab
function
FindProxyForURL(url, host) {
// If the hostname matches, send direct.
if
(dnsDomainIs(host,
"intranet.domain.com"
) ||
shExpMatch(host,
"(*.abcdomain.com|abcdomain.com)"
))
return
"DIRECT"
;
// If the protocol or URL matches, send direct.
if
(url.substring(0, 4)==
"ftp:"
||
return
"DIRECT"
;
// If the requested website is hosted within the internal network, send direct.
if
(isPlainHostName(host) ||
shExpMatch(host,
"*.local"
) ||
isInNet(dnsResolve(host),
"10.0.0.0"
,
"255.0.0.0"
) ||
isInNet(dnsResolve(host),
"172.16.0.0"
,
"255.240.0.0"
) ||
isInNet(dnsResolve(host),
"192.168.0.0"
,
"255.255.0.0"
) ||
isInNet(dnsResolve(host),
"127.0.0.0"
,
"255.255.255.0"
))
return
"DIRECT"
;
}
<%@ page contentType="text/html; charset=UTF-8" %>