F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Cache No POST

Problem this snippet solves:

Disable RAMcache for POST request responses.

Code :

when HTTP_REQUEST {
  if { [HTTP::method] equals "POST" } {
    CACHE::disable
  } else {
    CACHE::enable
  }
}

Tested this on version:

10.0
Published Jan 30, 2015
Version 1.0

1 Comment