Forum Discussion
stucky101_88485
Aug 09, 2012Nimbostratus
Extend WAN or LAN to add "none"
Hi
We host a bunch of apps on a glassfish appserver and it appears the http-caching doesnt' work well with this. The http iApp template automatically creates a LAN or WAN based caching profi...
Fred_Slater_856
Aug 09, 2012Historic F5 Account
The references to "caching_profile" are in the included app_utils, which is why you do not find them in the template. If you want to extend the template with a "None" choice, find the following http template statement:
set http_optimization_profile_names [tmsh::run_proc \
f5.app_utils:create_http_comp_accel_profiles $tmsh::app_name \
$::optimizations__lan_or_wan $::YES_ANSWER $use_wa $wa_app \
$::ssl_encryption_questions__offload_ssl
In order to disable caching in this instance, the call should be made with 2 "NO" answers, like this:
set http_optimization_profile_names [tmsh::run_proc \
f5.app_utils:create_http_comp_accel_profiles $tmsh::app_name \
$::optimizations__lan_or_wan $::NO_ANSWER $::NO_ANSWER $wa_app \
$::ssl_encryption_questions__offload_ssl
Calling the function in this manner creates the appropriate SSL and compression profiles without any caching.
For more on app_utils procedures, see https://devcentral.f5.com/wiki/iApp.app-utils-CLI-script-include.ashx.
Cheers,
-Fred
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects