Forum Discussion
hooleylist
May 09, 2007Cirrostratus
I haven't used the CACHE:: functions before as I haven't had a license for it, and I couldn't find any example rules that used CACHE::uri so I'm not very clear on the commands. But based on Bl0ndie's post (Click here), I don't think any change is made to the actual request. The change is just to what the caching module logically parses the request as.
This forces the [caching module] to store the documents under the different URI without actually changing the URI on the wire. This logic should be employed in HTTP_REQUEST event.
So per this and the wiki page, you should change the event from CACHE_REQUEST to HTTP_REQUEST.
http://devcentral.f5.com/wiki/default.aspx/iRules/CACHE__uri.html
CACHE::uri
* Overrides the URI value used by the cache to store the cached content, according to the specified string.
Maybe someone that has used the caching commands could elaborate?
Thanks,
Aaron