Forum Discussion
Darren_Person_2
Nimbostratus
May 07, 2007Image Leeching / Random querystring fix?
Hi All,
We have the RAMCACHE module installed and are seeing a high rate of evictions. After some further investigation, it appears that we have someone linking to our images using a random...
hoolio
Cirrostratus
May 09, 2007I 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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