這是本文件的舊版!
Compression
Sample
ip dns primary 172.31.3.242
ip nat pool v3006_SNAT 172.31.6.211 172.31.6.211 netmask /24
slb server jal.tw jal.tw
port 80 tcp
slb service-group jal.tw_group tcp
member jal.tw:80
slb template cache ram_cache_static_content
verify-host
accept-reload-req
max-content-size 819200
default-policy-nocache
policy uri .ico cache
policy uri .gif cache
policy uri .jpg cache
policy uri .js cache
policy uri .png cache
!
!
slb template http html_gzip
compression enable
compression level 5
compression keep-accept-encoding enable
compression content-type text/html
slb virtual-server vip-172.31.6.211 172.31.6.211
port 80 http
name _172.31.6.211_HTTP_80
source-nat pool v3006_SNAT
service-group jal.tw_group
template http html_gzip
template cache ram_cache_static_content