Puli
Sep 13, 2010Nimbostratus
cost of removing a string on every request
Hi All,
have a requirement where i need to scan and remove a string from the response.
When HTTP_RESPONSE {
HTTP::header replace Location [sring map -nocase {"/global" ""} [HTTP::header Location]
}
I need to check every response and remove global string as above, so the url in browser should appear without the string global in it.
Using above code, cant get it to work.
Also
Wanted to find out the impact on performance. We have pretty beefy machine running F5 LTM
Our site gets about 80 hits per second.
Do i need to add a if global exist condition? or does string map does that.
Appreciate your suggestions.
thanks.
Puli.