Forum Discussion
ScreenScape_Jim
Nimbostratus
May 02, 2012Need workaround for 10.x Caching issue with HTTP::uri updates
We have developed an irule that was developed on 9.4.8 to use with our marketing web site where we parse the URI and decide where to send the client's request. Some are redirects which work fine and t...
hoolio
Cirrostratus
May 02, 2012Hi 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
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