Forum Discussion
hooleylist
May 02, 2012Cirrostratus
Hi Jim,
The caching is just within the same iRule event and priority. The actual URI sent in the request to the pool is updated. If you need to see the change within the iRule you can either use an intermediate variable like you've done in the default switch case, or add a second HTTP_REQUEST event with a later (higher number) priority:
https://devcentral.f5.com/wiki/iRules.priority.ashx
when HTTP_REQUEST priority 501 {
log local0. "Updated URI: [HTTP::uri]"
}
Aaron