Zdenda
Mar 03, 2013Cirrus
FF performance issues after HttpOnly flag appended to cookies
Hi all, I am experiencing issues with firefox (IE runs fine) when I added this iRule to VIP (shared VIP for about 20 domains, iRule choosing appropriate pool is used):
This iRule adds "httponly" flag at the end of each cookie in HTTP responses (applied only for one domain) and iRule works fine.
when HTTP_REQUEST {
set domaincalled 0
if { [HTTP::host] contains "xxxxxx.com" } {
set domaincalled 1
}
}
when HTTP_RESPONSE {
if { $domaincalled equals 1 } {
set ck [HTTP::header values "Set-Cookie"]
HTTP::header remove "Set-Cookie"
foreach acookie $ck {
HTTP::header insert "Set-Cookie" "${acookie}; HttpOnly"
}
}
}
Do you know why it causes slowness (page loading ~10 seconds) and why its only noticed via firefox?
Thanks a lot,
Zdenek