cancel
Showing results for 
Search instead for 
Did you mean: 

Pool.use vs Pool.select

SOLVED
Highlighted
New Contributor

Pool.use vs Pool.select

I'm working on some new scripts and I'm not sure if I should use pool.use or pool.select.  In the TrafficScript guide it says that if you use pool.use it will stop processing any other rules. Does that mean that if I use this option traffic will not be checked against my Zeus AFM Enforcer request rule?

2 REPLIES
Frequent Contributor

Re: Pool.use vs Pool.select

You're correct about the distinction between pool.use and pool.select.

If you call 'pool.use' in a request rule that runs before your enforcer rule, then the enforcer rule will not be run.

This is a useful technique if you have a pool of servers for static content (images, css, etc) and you don't want to run the Application Firewall rules against requests to that pool.  You can pool.use() to divert those requests immediately, and bypass the Enforcer rule

regards

Owen

New Contributor

Re: Pool.use vs Pool.select

Thanks!  I'll modify my rules and use pool.select, I want to make sure that the app firewall rules are enforced.