Forum Discussion
dogg_dogg_23774
Nimbostratus
Apr 21, 2006Load-balancing cache arrays in V9
Hi,
I am rather new to iRule and need some assistance to load-balance forward proxy caching arrays. I understand we have been able to create iRule like below in V4, but, since I heard we do not support cache rule at this time, I am trying to accomplish the same behavior using other techniques. Is there any sample that I can use for my reference?
rule cache_rule {
cache ( http_uri ends_with "html" or http_uri ends_with "gif" ) {
origin_pool origin_server
cache_pool cache_servers
hot_pool hot_cache_servers
}
}
Thanks in advance,
- Colin_Walker_12Historic F5 AccountThere are cache commands available in iRules, actually. You can find a list of them in the iRules wiki here: Click here. The cache commands do require an add-on license, though, so they aren't available in a default v9 installation.
- dogg_dogg_23774
Nimbostratus
thanks for the response. - Joseph_Hicks_36
Nimbostratus
The cache rule that the original poster was looking to replicate had additional functionality surrounding hot pools and cool pools. The functionality in 4.x made it so that an array of caches wouldn't all get the same content in each cache (thereby using up all of the drive space on all of the caches with the same data). - Zafer_101134
Nimbostratus
Hi, - Colin_Walker_12Historic F5 AccountThese forums aren't intended for general product Technical Support. For general support questions it's best to direct your queries to the Web Support Portal so that Technical Support can assist you.
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