Forum Discussion
roger10dc_46053
Nimbostratus
Oct 08, 2010iRule to exclude certain content type from ram cache
Hi,
I am looking for an iRule to exclude certain content type from being ram cached thus going beyond the uri exclusion list...
Any help would be appreciated.
Jon
- George_Watkins_Historic F5 AccountHi Jon,
class bypass_ram_cache_filetypes { { "mp3" "pdf" "wmv" } } rule bypass_ram_cache_by_filetype { when HTTP_REQUEST { if { [class match [HTTP::path] ends_with $::bypass_ram_cache_filetypes] } { log local0. "RAM Cache bypassed for [HTTP::path]" CACHE::disable } } }
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