Forum Discussion
2funky_105078
Cirrus
Jul 31, 2014iRule error optimization
Hi,
For the iRule guru's, i am looking on a way to optimize this iRule which fails saying that the else is not accepted at the end.
Can I do a IF with inside a SWITCH and then a HTTP::redirect in...
Kevin_Stewart
Employee
Jul 31, 2014This actually looks pretty solid. It's going to run exactly one time for each HTTP request times the total number of HTTP requests from all users over some given amount of time. That's not a bad thing. The order that you're placing these is marginally important for such a small iRule. For anything substantially larger, I'd recommend putting more prevalent conditions closer to the top.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
