Forum Discussion
Joseph_Lee_4644
Nimbostratus
Oct 25, 2005Ram Cache
Is it possible to make my Ram Cache "selective" using iRule just like Compression?
11 Replies
- Michael_Yates
Nimbostratus
Hi hc_andy,
Depending on how you are implementing the search, you may or may not need to use the Wildcard Qualifier.
So in the first iRule you might have something like this where you would need it, or in the second iRule you would not:when HTTP_REQUEST { switch -glob [string tolower [HTTP::host]] { "*.abc.xyz.com/*" { CACHE::disable } "*.foo.com/*" { pool foo.pool } } }when HTTP_REQUEST { if { [HTTP::host] contains "abc.xyz.com" } { CACHE::disable } else { pool server.pool } }
Hope this helps.
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