Forum Discussion
CACHE::disable iRule doesn't seem to be working.
- Apr 01, 2024
thanks for your information
but below irule does not work,, f5 device can not send traffic to server after applied below irule
idk the reason
when HTTP_REQUEST priority 500 {
if { [HTTP::header exist "Content-Type"] } {
if { [HTTP::header exist "Cookie"] } {
CACHE::disable
}
CACHE::enable
}
}when HTTP_RESPONSE priority 600 {
if { [HTTP::status] == 200 }{
if { [HTTP::header exist "Cookie"] } {
CACHE::disable
}
CACHE::enable
}
}
Hi neeeewbie
I think this iRule will do.
when HTTP_REQUEST priority 500 {
if { [HTTP::method] equals "GET" } {
CACHE::disable
} else {
CACHE::enable
}
}
KR
Daniel
Recent Discussions
Related Content
* 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