差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

a10:slb:compression [2012/04/20 10:39] – 建立 jala10:slb:compression [2012/04/20 13:38] (目前版本) jal
行 1: 行 1:
-====== Compression ======+====== Compression 壓縮傳送 ====== 
 +這個功能在 [[http://www.apache.org|Apache]] or [[http://www.lighttpd.net/|Lighttpd]] 皆有被支援,可以有效的降低傳輸頻寬,且 A10 除了部分機型外,幾乎都有 Compression 晶片處理,怎麼樣都該把他打開來用用。
  
 ===== Sample ===== ===== Sample =====
 <code> <code>
-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 slb server jal.tw jal.tw
    port 80  tcp    port 80  tcp
行 13: 行 10:
     member jal.tw:80     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 slb template http html_gzip
    compression enable    compression enable
-   compression level 5+   compression level 6
    compression keep-accept-encoding enable    compression keep-accept-encoding enable
-   compression content-type text/html+   compression content-type text 
 +   compression content-type image
  
 slb virtual-server vip-172.31.6.211 172.31.6.211 slb virtual-server vip-172.31.6.211 172.31.6.211
    port 80  http    port 80  http
-      name _172.31.6.211_HTTP_80 
-      source-nat pool v3006_SNAT 
       service-group jal.tw_group       service-group jal.tw_group
       template http html_gzip       template http html_gzip
-      template cache ram_cache_static_content 
- 
 </code> </code>
a10/slb/compression.1334918344.txt.gz · 上一次變更: 2012/04/20 10:39 由 jal
上一頁 | 下一頁 | 回首頁 | RSS Feed | Facebook