Forum Discussion
winifred_corbet
Nimbostratus
Aug 18, 2010Dozens of 301 redirects - can we use --- class 301_redirect
We have many irules that handle nothing but 301 redirects, for example, dozens of these types of entries in on irule.
We are looking for a way to streamline and make more efficient irules si...
Colin_Walker_12
Aug 18, 2010Historic F5 Account
Naladar is right on. Generally speaking I recommend a switch statement up to about 100 or 150 entries, as long as it remains manageable in the code. Past that using a class match is your best bet, and that scales well into the thousands, depending on class structure and content.
Colin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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