On Sat, 14 May 2005, azeem ahmad wrote:
i want to rediredct user's traffic over a certain size say 1 MB to another parent cache_peer. mean if a user requests a file that is big than 1 MB then its request must be completed through another cache_peer.
This is hard as the size is only known when the file is received, and at that point is is quite too late to forward the request via another parent.
What you can do is to guess based on URL patterns and send requests which are likely to result in large files via this other parent. See urlpath_regex and cache_peer_access.
Regards Henrik