Forum Discussion
EricRs_201906
May 22, 2015Nimbostratus
iRule: Adjust idle timeout for 1 particular call
Hello, I had a few questions if anyone has implemented or tried this I know there's a wiki link for it, link, However I wanted to know if the sample request would open the idle time out for ALL r...
- May 22, 2015
The use of "else" clause is good for visibility reasons. Admin does not have to check the settings inside a TCP profile to know what the TO value is for all other requests.
For efficiency, I recommend using a comparison against
, instead of your current[string tolower[HTTP::path]] starts_with
statement.[HTTP::uri] starts_with
Hannes_Rapp_162
Nacreous
The use of "else" clause is good for visibility reasons. Admin does not have to check the settings inside a TCP profile to know what the TO value is for all other requests.
For efficiency, I recommend using a comparison against
[string tolower[HTTP::path]] starts_with
, instead of your current [HTTP::uri] starts_with
statement.Hannes_Rapp_162
May 22, 2015Nacreous
Also note that your iRule only has the expected effect, if by requesting page "/portal*" there are no requests made to other pages served via the same VIP (e.g JPG, CSS, PNG etc.. files in "/static_files"). Since HTTP1.1 a single TCP connection is used for multiple GET requests. Therefore, if any content on page is in another parent directory, the IDLE timeout value will be repeatedly overwritten and this affects performance negatively. What's more, the actual timeout value on /portal page can still be 300 seconds (assuming the last request was made to /static_files/mylogo.png).
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