Forum Discussion
Jason_Glynn_113
Nimbostratus
Dec 05, 2006iRule and Cookies
Is it good practice to insert cookie response headers using iRules ? Does this place unnecessary overhead on the load balancer? And would I be better off inserting the extra header information using an iis iaspi filter?
Any feedback ideas would be greatly appreciated
J
1 Reply
- That's what iRules were developed for. Inserting Headers/Cookies is a very low overhead operation. Take a look at the wiki for the HTTP::cookie and HTTP::header commands to get yourself started.
Forget the ISAPI filter, it's much easier to manage the single iRule than the filters running on each of the servers. As an added bonus, iRules can provide an easier debugging environment (with logging).
Now, if you were going to buffer the responses, perform multiple regular expression checks on it, and then modify multiple sections of the response from within the iRule, then that may be at the point of needing some profiling, but I wouldn't worry at all about header insertion.
-Joe
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