Forum Discussion
gerald_wegener_
Nimbostratus
Sep 07, 2006Request / Reponse iRules
If I have an iRule that looks at HTTP Requests as in:
when HTTP_REQUEST {
some request logic here...
}
and another iRule that looks at HTTP Responses as in:
when HTTP_RESPONSE {
some response logic here...
}
Is it better to combine these into a single rule if possible? e.g. is it better performance-wise, etc.
What is the rule-of-thumb in this case?
Thank You.
- The main decision point is manageability on your part. If the logic in the two rules are related, then it's probably best to combine them into a single iRule. If they are not and you will use them in multiple contexts, then it might be best to keep them separate.
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