CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
Darren_Person_2
Nimbostratus
Nimbostratus

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
Comments
JRahm
Community Manager
Community Manager
contributed by dperson1
Version history
Last update:
‎30-Jan-2015 04:20
Updated by:
Contributors