Forum Discussion
David_Farkas_29
Nimbostratus
Feb 01, 2005Cache persistence on domain name
Under 4.x I've used a very simple cache rule to send requests to a set of caches. However, back in 4.2 PTF6, a 'special' feature was added to allow persistence to a cache based on the level of the host name (see below). I was wonder if this 'feature' was carried forward in 9.x or is there a iRule that will accomplish the same thing.
Here is how the feature works:
b internal set cache_uses_host_domain = 0 (default) - makes cache rules use the URI
b internal set cache_uses_host_domain = 1 - makes cache rule use 1st level TLD. (i.e. .com, .net, .org, etc.)
b internal set cache_uses_host_domain = 2 - makes cache rule use 2nd level domain (i.e. merck.com, yahoo.com, hotmail.com, etc.)
b internal set cache_uses_host_domain = 3 - makes cache rule use 3rd level domain (i.e. www.merck.com , ftp.yahoo.com
, www.slashdot.org ,etc.)
21 Replies
- unRuleY_95363Historic F5 AccountGenerally, there is no termination to a CONNECT method, so regardless of whether it was being used with HTTPS or HTTP, there is no need to call HTTP::enable on that connection as it is indefinitely connected due to the CONNECT.
Just for reference, there is an HTTP::enable command, however, I would be surprised to see it ever get used as it would appear to be rather difficult to determine when the protocol parsing should be re-enabled.
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
