Darren_Person_2
May 07, 2007Nimbostratus
Image 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 querystring (i.e.: http://site.com/img/image.jpg?random=XXXXXX
This is generating many copies of this image in our cache. Can someone explain a possible iRule solution to strip off the querystring an make it so that they can no longer do this?
In addition, do you know of any iRule which would stop someone from leeching our images. i.e.: If the image isn't being requested from one of our domains in the browser url, then send back a fake image?
Any help you could provide would be greatly appreciated!!