Forum Discussion
Mike_62629
Nimbostratus
Apr 07, 2008Has anyone successfully used dicts in iRules?
Has anyone successfully used dicts in iRules?
I'm currently iterating through a loop doing string comparisons and think it may be a bit more efficient to do a single dictionary lookup instead. I w...
Mike_62629
Nimbostratus
Apr 08, 2008
class CacheableExtensions {
.css
.gif
.ico
.jpg
.jpeg
.js
}
when HTTP_REQUEST {
if { [matchlass [HTTP::path] ends_with $::CacheableExtensions] } {
pool Cache-Pool
} else {
pool Application-Pool
}
}
Could it be that simple?
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