Have some code. Share some code.
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Problem this snippet solves:

This is a custom HTTP profile which optimizes HTTP traffic for a Wide Area Network environment with KeepAlives, Caching and Compression).

It enables a 50Mb cache that operates on files < 2Mb in size, caching them for up to 24 hours.

It enables compression buffer with settings to enable fast compression of all data, and inclusion of some data that typically would not be compressed.

With OneConnect transformations enabled, LTM transforms "Connection: Close" headers in client-side requests to "X-Cnection: Close" headers on the server side, allowing the BIG-IP LTM to make eligible for connection reuse any client requests containing the "Connection: Close" header (i.e. HTTP/1.0 requests).

(This profile is included as a standard profile in LTM 9.4.)

Code :

profile http http-wan-optimized-compression-caching {
    defaults from http
    oneconnect transformations enable
    compress enable
    compress buffer size 131072
    compress vary header enable
    compress http 1.0 enable
    compress gzip memory level 16k 
    compress gzip window size 64k 
    compress gzip level 1
    response unchunk
    ramcache enable
    ramcache size 50mb
    ramcache max age 86400
    ramcache min object size 0
    ramcache max object size 2000000
Version history
Last update:
‎12-Mar-2015 15:47
Updated by: