Forum Discussion

MShain's avatar
MShain
Icon for Nimbostratus rankNimbostratus
Apr 19, 2021

How can I apply a web acceleration profile using an irule?

I'm having a difficult time finding an example of the syntax used to apply a web acceleration profile using an irule. Here's what I'm trying. This syntax doesn't result in any errors, but I the acceleration profile isn't being applied.

 

when HTTP_REQUEST {

if { [HTTP::host] contains "store.cheetos.com" } {

     set PROFILE::webacceleration "Store_Caching"

     pool CheetoSwarm_7000_pool

   }

}

1 Reply