Joseph_Lee_4644
Oct 25, 2005Nimbostratus
Ram Cache
Is it possible to make my Ram Cache "selective" using iRule just like Compression?
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.