HTTP Profile LAN Optimized Caching

Problem this snippet solves:

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

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

With OneConnect transformations enabled, LTM transforms "Connection: Close" headers in client-side requests to "X-Connection: 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-lan-optimized-caching {
    defaults from http
    oneconnect transformations enable
    ramcache enable
    ramcache size 50mb
    ramcache max age 86400
    ramcache min object size 0
    ramcache max object size 2000000
Published Mar 12, 2015
Version 1.0

Was this article helpful?

No CommentsBe the first to comment