Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Joseph_Lee_4644's avatar
Joseph_Lee_4644
Icon for Nimbostratus rankNimbostratus
Oct 25, 2005

Ram Cache

Is it possible to make my Ram Cache "selective" using iRule just like Compression?

 

11 Replies

  • 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.