Forum Discussion
11 Replies
Sort By
- bl0ndie_127134Historic F5 AccountYes there are a few ways of doing this. If you know what resources need to be excluded based on their URI, you can add them to the cache exclude list (no rule required). NOTE: the exclude list accepts regular expressions.
- bl0ndie_127134Historic F5 AccountI think this rule might be what you are looking for.
class images { ".bmp" ".gif" ".jpg" } when HTTP_REQUEST { if { [matchclass [HTTP::uri] ends_with $::images]} { CACHE::enable } else { CACHE::disable } }
- Gordon_JohnstonNimbostratusI'm new to RAM Cache as well but as I see it from the docs:
- brad_11480NimbostratusI have static content that i serve from pools other than the default for the virtual server.
- Rab_101866NimbostratusHi brad,
- hooleylistCirrostratusHi Rab,
- Rab_101866NimbostratusThanks Aaron that looks like it works.
- Rab_101866NimbostratusThis is what I needed -
- hooleylistCirrostratusHi Rab,
- hc_andy_35682NimbostratusJust on this issue of the RAM Cache...if I need to disable caching for an entire domain, is it enough to just add the domain to the URI's Exclude List or do I need to add a wildcard masks to the end of it.