WAM::enable

Description

Enables the WAM/AAM plugin for the current TCP connection. WAM/AAM will remain enabled on the current TCP connection until it is closed or WAM::disable is called.
See this KB article for more details: https://support.f5.com/csp/article/K52245924

Syntax

WAM::enable

WAM::enable

  • Enables Web Accelerator plugin processing for the duration of the TCP connection or until WAM::disable is called.

Note: WAM::enable deprecates PLUGIN::enable WAM

Examples

# Disable WAM for HTTP paths ending in .php
when HTTP_CLASS_SELECTED {
  WAM::enable
  if { [HTTP::path] ends_with ".php" } {
    WAM::disable
  }
}