Forum Discussion
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
2 Replies
- What_Lies_Bene1
Cirrostratus
There's no apparent reason for this. As this is a browser specific issue I'd suggest you use a tool like LiveHTTPHeaders to check what is actually being seen in the HTTP headers in FF. Beyond that, a Wireshark packet capture on the client would also be useful in troubleshooting your issue. - Zdenda
Cirrus
Hi,
thanks for message, performance issues weren't caused by this iRule but by another device.
Zdena
Recent Discussions
Related Content
* 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